{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-25977","id":"CVE-2025-25977","title":"canvg Prototype Pollution vulnerability","description":"An issue in canvg v.4.0.2 allows an attacker to execute arbitrary code via the Constructor of the class StyleElement.","descriptionLong":"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:00.000Z","updated":"2026-10-28T02:30:54.130549145Z","reserved":"2025-02-07T00:00:00.000Z","status":"Analyzed","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","rating":"high","source":"GitHub"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"version":"n/a","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"canvg","purl":"pkg:npm/canvg","ranges":[">=4.0.0 <4.0.3","<3.0.11"],"fixed":["4.0.3","3.0.11"],"advisory":"GHSA-v2mw-5mch-w8c5"}],"cwes":["CWE-1321"],"aliases":["GHSA-v2mw-5mch-w8c5"],"references":[{"url":"https://github.com/canvg/canvg/issues/1749","tags":["exploit","Exploit","Issue Tracking","report","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/25xxx/CVE-2025-25977.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-25977","tags":["advisory"]},{"url":"https://github.com/canvg/canvg/commit/c3743e6345f3e01aefdcdd412c3f26494f4b5d7d","tags":["web"]},{"url":"https://github.com/canvg/canvg","tags":["package"]},{"url":"https://github.com/canvg/canvg/blob/937668eced93e0335c67a255d0d2277ea708b2cb/src/Document/StyleElement.ts","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.00713,"epssPercentile":0.54409,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-25977","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-25977","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-25977","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-v2mw-5mch-w8c5","ok":true,"note":"GHSA-v2mw-5mch-w8c5"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-25977","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}