Cross-site scripting in enshrined/svg-sanitize
Priority LOW 29CWE-79Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
It is possible to bypass enshrined/svg-sanitize before 0.13.1 using the "xlink:href" attribute due to mishandling of the xlink namespace by the sanitizer.
Why it matters now
EPSS 0.00741 54th percentileScored 2026-11-07
Fix Fixed enshrined/svg-sanitize (Packagist): 0.13.1
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | enshrined/svg-sanitize | All versions prior to version 0.13.1 | — | No fix listed | CNA |
| — | enshrined/svg-sanitize (Packagist) | before 0.13.1 | 0.13.1 | Patch available | GHSA-8rc5-hx3v-2jg7 |
- enshrined/svg-sanitize Vendor— Affected All versions prior to version 0.13.1 Fixed in — No fix listed CNA
- enshrined/svg-sanitize (Packagist) Vendor— Affected before 0.13.1 Fixed in 0.13.1 Patch available GHSA-8rc5-hx3v-2jg7
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:svg-sanitizer_project:svg-sanitizer:*:*:*:*:*:*:*:* | before 0.13.1 | Vulnerable | Svg-sanitizer Project |
- cpe:2.3:a:svg-sanitizer_project:svg-sanitizer:*:*:*:*:*:*:*:* Versions before 0.13.1 Vulnerable ·Svg-sanitizer Project
Remediation
- Fix · GHSA-8rc5-hx3v-2jg7 enshrined/svg-sanitize (Packagist) Fixed in 0.13.1 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2019-10772
- 2026-10-03 Alias added: GHSA-8rc5-hx3v-2jg7
References
More Svg-sanitizer Project Svg-sanitizer vulnerabilities
- TI-2019-13591 darylldoyle svg-sanitizer before 0.12.0 mishandles script and data values in attributes… CVSS 3.1HIGH 7.5
- TI-2022-07690 Cross-site Scripting in svg-sanitizer CVSS 3.1MEDIUM 6.2
Sources
- CVE-2019-10772 · CVE Program
- CVE-2019-10772 · NVD
- FIRST EPSS
- GHSA-8rc5-hx3v-2jg7 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences