{"id":"CVE-2025-25977","aliases":["GHSA-v2mw-5mch-w8c5"],"url":"https://o3.security/vulnerability/CVE-2025-25977","summary":"canvg Prototype Pollution vulnerability","details":"An issue in canvg v.4.0.2 allows an attacker to execute arbitrary code via the Constructor of the class StyleElement.","published":"2025-03-10T00:00:00Z","modified":"2026-08-12T03:51:43.306330045Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.00695,"percentile":0.50709,"asOf":"2026-09-08"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"canvg","fixedVersion":"4.0.3"},{"ecosystem":"npm","name":"canvg","fixedVersion":"3.0.11"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/25xxx/CVE-2025-25977.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-25977"},{"type":"REPORT","url":"https://github.com/canvg/canvg/issues/1749"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:43.306330045Z"}}