{"id":"GHSA-v2mw-5mch-w8c5","revision":"449a3838af114eee9a0c3a50e24bf037","records":[{"revision":"449a3838af114eee9a0c3a50e24bf037","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-v2mw-5mch-w8c5","aliases":["CVE-2025-25977"],"title":"canvg Prototype Pollution vulnerability","description":"An issue in canvg prior to v.4.0.3 and v3.0.11 can lead to prototype pollution via the Constructor of the class StyleElement.","state":0,"publishedAt":"2025-03-10T18:31:56+00:00","modifiedAt":"2026-09-10T03:49:48.4020119+00:00","affected":[{"ecosystem":"npm","name":"canvg","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"4.0.0"},{"kind":"fixed","version":"4.0.3"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"canvg","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"3.0.11"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2025-25977","https://github.com/canvg/canvg/issues/1749","https://github.com/canvg/canvg/commit/c3743e6345f3e01aefdcdd412c3f26494f4b5d7d","https://github.com/canvg/canvg","https://github.com/canvg/canvg/blob/937668eced93e0335c67a255d0d2277ea708b2cb/src/Document/StyleElement.ts"],"sourceUrl":"https://github.com/advisories/GHSA-v2mw-5mch-w8c5","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-v2mw-5mch-w8c5","identifiers":["GHSA-v2mw-5mch-w8c5","CVE-2025-25977"]},"retained":false,"historicalAffected":[]}],"coverage":[]}