Security mailing lists by PureSourceCode

CVE-2025-25977

CRITICAL 9.8CVSS 3.1

canvg Prototype Pollution vulnerability

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

Published
10 Mar 2025
Last modified
10 Sep 2026
Assigned by
cve@mitre.org
NVD status
Analyzed
Weakness
CWE-1321
Also known as
GHSA-v2mw-5mch-w8c5
Sources
NVDJSONOSV GHSA-v2mw-5mch-w8c5JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 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
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD canvg canvg
cpe:2.3:a:canvg:canvg:*:*:*:*:*:*:*:*
< 3.0.11 3.0.11
NVD canvg canvg
cpe:2.3:a:canvg:canvg:*:*:*:*:*:*:*:*
>= 4.0.0, < 4.0.3 4.0.3
OSV npm canvg >= 4.0.0, < 4.0.3 4.0.3
OSV npm canvg < 3.0.11 3.0.11

References

History

  • 25 Nov 2026 20:57 UTC · NVD: first stored (published 10 Mar 2025)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Mar 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.