CVEvulnerability
CVE-2023-49146
6.1 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2023-11-22
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.1 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- 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 configurations
• getgrav dom-sanitizer (< 1.0.7)
Related
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://github.com/rhukster/dom-sanitizer/commit/c2a98f27ad742668b254282ccc5581871d0fb601 Patch
- https://github.com/rhukster/dom-sanitizer/compare/1.0.6...1.0.7 Patch
- https://github.com/rhukster/dom-sanitizer/commit/c2a98f27ad742668b254282ccc5581871d0fb601 Patch
- https://github.com/rhukster/dom-sanitizer/compare/1.0.6...1.0.7 Patch