Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2023-22461

7.6 · HIGH
Published Jan 4, 2023 sanitize-svg_project CWE-79 EPSS 0.57% (45th pctl)

Overview

CVE-2023-22461 is a high-severity vulnerability affecting sanitize-svg_project sanitize-svg. It was published on January 4, 2023 and has a CVSS 3.1 base score of 7.6 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.6, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

The `sanitize-svg` package, a small SVG sanitizer to prevent cross-site scripting attacks, uses a deny-list-pattern to sanitize SVGs to prevent XSS. In doing so, literal `<script>`-tags and on-event handlers were detected in versions prior to 0.4.0. As a result, downstream software that relies on `sanitize-svg` and expects resulting SVGs to be safe, may be vulnerable to cross-site scripting. This vulnerability was addressed in v0.4.0. There are no known workarounds

Remediation

Check the references section for vendor advisories and patches from sanitize-svg_project. Update sanitize-svg to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
sanitize-svg_project sanitize-svg >= 0, < 0.4.0 Affected

Frequently Asked Questions

What is CVE-2023-22461?

CVE-2023-22461 is a high-severity vulnerability affecting sanitize-svg_project sanitize-svg. It was published on January 4, 2023 and has a CVSS 3.1 base score of 7.6 (HIGH).

How severe is CVE-2023-22461?

This vulnerability has a CVSS 3.1 base score of 7.6, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2023-22461?

Check the references section for vendor advisories and patches from sanitize-svg_project. Update sanitize-svg to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2023-22461?

CyberStrike's AI-powered security agents can automatically detect CVE-2023-22461 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.