Read the docs
TI-2025-19207 Aliases CVE-2025-25977GHSA-v2mw-5mch-w8c5

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

Priority HIGH 82CWE-1321Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub.

Summary

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

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00713 53rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed canvg (npm): 4.0.3, 3.0.11

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—canvg (npm)4.0.0 to before 4.0.34.0.3Patch availableGHSA-v2mw-5mch-w8c5
—canvg (npm)before 3.0.113.0.11Patch availableGHSA-v2mw-5mch-w8c5
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • canvg (npm) Vendor— Affected 4.0.0 to before 4.0.3 Fixed in 4.0.3 Patch available GHSA-v2mw-5mch-w8c5
  • canvg (npm) Vendor— Affected before 3.0.11 Fixed in 3.0.11 Patch available GHSA-v2mw-5mch-w8c5

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:canvg:canvg:*:*:*:*:*:*:*:*before 3.0.11; 4.0.0 to before 4.0.3VulnerableCanvg
  • cpe:2.3:a:canvg:canvg:*:*:*:*:*:*:*:* Versions before 3.0.11; 4.0.0 to before 4.0.3 Vulnerable ·Canvg

Remediation

  • Fix · GHSA-v2mw-5mch-w8c5 canvg (npm) Fixed in 4.0.3 Advisory →
  • Fix · GHSA-v2mw-5mch-w8c5 canvg (npm) Fixed in 3.0.11 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat Advanced Cluster Security 4

Timeline

  1. 2026-10-02 Threatist record created from CVE-2025-25977
  2. 2026-10-03 Alias added: GHSA-v2mw-5mch-w8c5

References

Sources