CVE-2021-23631: This affects all versions of package convert-svg-core; all versions of package convert-svg-to-png; all version
CVE-2021-23631 is a high-severity flaw (CVSS 7.5) affecting convert-svg-core. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
This affects all versions of package convert-svg-core; all versions of package convert-svg-to-png; all versions of package convert-svg-to-jpeg. Using a specially crafted SVG file, an attacker could read arbitrary files from the file system and then show the file content as a converted PNG file.
Why this priority
- High severity
- Public exploit reference
- Remotely exploitable, no login, no user action
No fix is published yet: follow the downgrade or mitigation steps.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 2.0% (top 19%) |
| CISA exploited list | No |
| Weakness | CWE-22 |
| Published | 2022-01-21 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2021-23631?
convert-svg-core: mitigate or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2021-23631 being exploited?
CVE-2021-23631 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2021-23631 affect?
CVE-2021-23631 affects convert-svg-core. Severity is high (CVSS 7.5). This affects all versions of package convert-svg-core; all versions of package convert-svg-to-png; all versions of package convert-svg-to-jpeg. Using a specially crafted SVG file, an attacker could read arbitrary files from the file system
How urgent is CVE-2021-23631?
Priority 56/100. High severity; Public exploit reference; Remotely exploitable, no login, no user action
Related CVEs
- CVE-2022-25759 CRITICAL 9.9 UPGRADE The package convert-svg-core before 0.6.2 are vulnerable to Remote Code Injection via sending an SVG file cont
- CVE-2022-24429 HIGH 7.5 UPGRADE The package convert-svg-core before 0.6.3 are vulnerable to Arbitrary Code Injection when using a specially cr