CVE-2022-23638 json
Cross-site Scripting in svg-sanitizer
published 2022-02-14 4 y ago modified 2026-06-17 4 mo ago also GHSA-fqx8-v33p-4qcc , EUVD-2022-0990
- cvss
- 6.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 52%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist enshrined/svg-sanitize 0.15.0
- svg-sanitizer_project svg-sanitizer 0.15.0
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 18 mo ago
Exploit prediction
0.68% chance of exploitation in the next 30 days, higher than 52% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 6.2 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | enshrined/svg-sanitize | <0.15.0 |
0.15.0 |
Affected products
- darylldoyle svg-sanitizer
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/darylldoyle/svg-sanitizer/commit/17e12ba9c2881caa6b167d0fbea555c11207fbb0
web, patch, third-party-advisory
-
github.com
/darylldoyle/svg-sanitizer/security/advisories/GHSA-fqx8-v33p-4qcc
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-23638
advisory
-
github.com
/darylldoyle/svg-sanitizer/issues/71
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/enshrined/svg-sanitize/CVE-2022-23638.yaml
web
-
github.com
/advisories/GHSA-fqx8-v33p-4qcc
advisory
-
github.com
/darylldoyle/svg-sanitizer
package
Sources
- CVE List CVE-2022-23638
- GitHub Advisory GHSA-fqx8-v33p-4qcc
- NVD CVE-2022-23638
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.