Live threats

All CVEs / Svg-sanitizer Project

CVE-2022-23638Svg-sanitizer Project Svg-sanitizer

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.7%
probability of exploitation in 30 days · percentile 46
Auth required
No
Published
Feb 14, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

svg-sanitizer is a SVG/XML sanitizer written in PHP. A cross-site scripting vulnerability impacts all users of the `svg-sanitizer` library prior to version 0.15.0. This issue is fixed in version 0.15.0. There is currently no workaround available.

Original NVD text.

What to do

  1. Apply the vendor's security update for Svg-sanitizer.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist enshrined/svg-sanitize < 0.15.0 0.15.0 composer require "enshrined/svg-sanitize:^0.15.0"

Per OSV / GitHub Advisories (GHSA-fqx8-v33p-4qcc). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
svg-sanitizer_projectsvg-sanitizer< 0.15.0

Official sources

References

Links published by the sources. Open them with care.