GHSA-v2mw-5mch-w8c5Published
An issue in canvg v.4.0.2 allows an attacker to execute arbitrary code via the Constructor of the class StyleElement.
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2025-25977 · CVE overview and exploitation status
cve-program · CVE-2025-25977
euvd · EUVD-2025-6266
nvd · CVE-2025-25977
osv · GHSA-v2mw-5mch-w8c5
- 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
Related changes
Linked by CVE identifierNo related changes are available here.