All CVEs / Svg-sanitizer Project
CVE-2022-23638Svg-sanitizer Project Svg-sanitizer
Medium 6.1 No auth needed
Follow: this CVE · Svg-sanitizer Project · Svg-sanitizer Project Svg-sanitizer We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Svg-sanitizer.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| svg-sanitizer_project | svg-sanitizer | < 0.15.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Third Party Advisory