PoC Monitor
← All CVEs
CVE-2025-25977published 10 Mar 2025 00:00 UTCData: JSON · API

CVE-2025-25977

An issue in canvg v.4.0.2 allows an attacker to execute arbitrary code via the Constructor of the class StyleElement.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.8critical · scored by CISA ADP · CWE-1321
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

canvg (npm)
  • >= 4.0.0, < 4.0.3

Fixed in 4.0.3

from GitHub Security Advisory GHSA-v2mw-5mch-w8c5

canvg (npm)
  • < 3.0.11

Fixed in 3.0.11

from GitHub Security Advisory GHSA-v2mw-5mch-w8c5

Mitigation

Upgrade canvg to 4.0.3 or later.

Upgrade canvg to 3.0.11 or later.

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published10 Mar 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.