DOMSanitizer (aka dom-sanitizer) before 1.0.7 allows XSS via an SVG document because of…
Priority LOW 28CWE-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
DOMSanitizer (aka dom-sanitizer) before 1.0.7 allows XSS via an SVG document because of mishandling of comments and greedy regular expressions.
Why it matters now
EPSS 0.00429 37th percentileScored 2026-11-07
Fix Fixed rhukster/dom-sanitizer (Packagist): 1.0.7
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 |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | rhukster/dom-sanitizer (Packagist) | before 1.0.7 | 1.0.7 | Patch available | GHSA-2ghm-r75j-pjx2 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- rhukster/dom-sanitizer (Packagist) Vendor— Affected before 1.0.7 Fixed in 1.0.7 Patch available GHSA-2ghm-r75j-pjx2
Remediation
- Fix · GHSA-2ghm-r75j-pjx2 rhukster/dom-sanitizer (Packagist) Fixed in 1.0.7 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2023-49146
- 2026-10-03 Alias added: GHSA-2ghm-r75j-pjx2
References
Sources
- CVE-2023-49146 · CVE Program
- CVE-2023-49146 · NVD
- FIRST EPSS
- GHSA-2ghm-r75j-pjx2 · 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