{"id":"CVE-2025-25977","details":"An issue in canvg v.4.0.2 allows an attacker to execute arbitrary code via the Constructor of the class StyleElement.","aliases":["GHSA-v2mw-5mch-w8c5"],"modified":"2026-04-10T05:25:07.040603Z","published":"2025-03-10T16:15:13.633Z","related":["CGA-6vj6-vpjh-cr5f"],"references":[{"type":"REPORT","url":"https://github.com/canvg/canvg/issues/1749"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/canvg/canvg","events":[{"introduced":"0"},{"fixed":"d027f526c24577f20a78adbbd88f53f981047b81"},{"introduced":"93b8324bc7ae6083628a7941d345bc91d1e321ce"},{"fixed":"15fc14568d013bf48e388528567c9681310dae14"}],"database_specific":{"versions":[{"introduced":"0"},{"fixed":"3.0.11"},{"introduced":"4.0.0"},{"fixed":"4.0.3"}]}}],"versions":["v1.0","v1.1","v1.2","v1.3","v1.4","v1.5","v1.5.1","v1.5.2","v1.5.3","v1.5.4","v2.0.0","v2.0.0-beta.0","v2.0.0-beta.1","v3.0.0","v3.0.0-beta.0","v3.0.7","v3.0.8","v4.0.0","v4.0.1","v4.0.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-25977.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}