Security mailing lists by PureSourceCode

CVE-2023-49146

MEDIUM 6.1CVSS 3.1

Cross-site Scripting in DOMSanitizer

DOMSanitizer (aka dom-sanitizer) before 1.0.7 allows XSS via an SVG document because of mishandling of comments and greedy regular expressions.

Published
22 Nov 2023
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-2ghm-r75j-pjx2
Sources
NVDJSONOSV GHSA-2ghm-r75j-pjx2JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD getgrav dom-sanitizer
cpe:2.3:a:getgrav:dom-sanitizer:*:*:*:*:*:*:*:*
< 1.0.7 1.0.7
OSV Packagist rhukster/dom-sanitizer < 1.0.7 1.0.7

References

History

  • 25 Nov 2026 20:37 UTC · NVD: first stored (published 22 Nov 2023)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 23 Nov 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.