{"id":"CVE-2025-25977","published":"2025-03-10T00:00:00Z","modified":"2025-03-12T18:20:57Z","title":"An issue in canvg v.4.0.2 allows an attacker to execute arbitrary code via the Constructor of the class StyleElement","vendor":null,"product":null,"tier":"tail","description":{"text":"An issue in canvg v.4.0.2 allows an attacker to execute arbitrary code via the Constructor of the class StyleElement.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.8,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00713,"percentile":0.5455,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://github.com/canvg/canvg/issues/1749","tags":[]}],"priority":{"score":17.8,"factors":[{"name":"EPSS percentile","points":10.91},{"name":"CVSS severity","points":6.86}]},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total","timestamp":"2025-03-12T18:19:55.256032Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"canvg","vulnerableRanges":[">=4.0.0, <4.0.3","<3.0.11"],"patched":["4.0.3","3.0.11"],"from":["GHSA-v2mw-5mch-w8c5"],"provenance":"source"}],"summary":{"text":"A flaw in the StyleElement class constructor of canvg version 4.0.2, a JavaScript library for rendering SVG on canvas, lets input reach a point where attacker-supplied data modifies object prototype attributes, which is a prototype pollution weakness.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:34:47Z"},"euvd":{"id":"EUVD-2025-6266","exploited":false,"provenance":"source"}}