What’s Vulnerable › Vulnerabilities
CVE-2023-49146
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-11-22 · updated 2026-06-17
- Weakness: CWE-79
Description
DOMSanitizer (aka dom-sanitizer) before 1.0.7 allows XSS via an SVG document because of mishandling of comments and greedy regular expressions.
Affected products
- getgrav Dom-Sanitizer: before 1.0.7 — fixed in 1.0.7
How to fix
Upgrade to a fixed version: getgrav Dom-Sanitizer 1.0.7. Check the vendor advisory for mitigations.
References
- https://github.com/rhukster/dom-sanitizer/commit/c2a98f27ad742668b254282ccc5581871d0fb601
- https://github.com/rhukster/dom-sanitizer/compare/1.0.6...1.0.7
- https://github.com/rhukster/dom-sanitizer/commit/c2a98f27ad742668b254282ccc5581871d0fb601
- https://github.com/rhukster/dom-sanitizer/compare/1.0.6...1.0.7
Get alerted when CVE-2023-49146 or the next vulnerability affects your stack