CVE-2023-49146
6.1medium
Cross-site Scripting in DOMSanitizer
- Severity
- 6.1medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.51% (higher than 44% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-2ghm-r75j-pjx2
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
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| rhukster/dom-sanitizer (Packagist) | before 1.0.7 | GitHub Advisory Database |
| getgrav dom-sanitizer | before 1.0.7 | NVD |
All scores
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
What each source says
CVE List
DOMSanitizer (aka dom-sanitizer) before 1.0.7 allows XSS via an SVG document because of mishandling of comments and greedy regular expressions.
NVD (es)
DOMSanitizer (también conocido como dom-sanitizer) anterior a 1.0.7 permite XSS a través de un documento SVG debido al mal manejo de comentarios y expresiones regulares codiciosas.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-49146 changed 2024-08-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-2ghm-r75j-pjx2 changed 2024-02-16 | CC-BY-4.0 |
| NVD | CVE-2023-49146 changed 2026-06-17 | Public domain |