CVE-2023-49146
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
rhukster/dom-sanitizer (Packagist)before 1.0.7GitHub Advisory Database
getgrav dom-sanitizerbefore 1.0.7NVD

All scores

GitHub6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD6.1medium CVSS:3.1CVSS: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

SourceRecordLicence
CVE ListCVE-2023-49146 changed 2024-08-02CVE Terms of Use
GitHub Advisory DatabaseGHSA-2ghm-r75j-pjx2 changed 2024-02-16CC-BY-4.0
NVDCVE-2023-49146 changed 2026-06-17Public domain