CVE-2023-49146

Source
https://cve.org/CVERecord?id=CVE-2023-49146
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-49146.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2023-49146
Aliases
Published
2023-11-22T00:00:00Z
Modified
2026-07-08T06:26:34.616251779Z
Summary
[none]
Details

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

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/49xxx/CVE-2023-49146.json",
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/rhukster/dom-sanitizer

Affected ranges

Type
GIT
Repo
https://github.com/rhukster/dom-sanitizer
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "cpe": "cpe:2.3:a:getgrav:dom-sanitizer:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "1.0.7"
        }
    ],
    "source": [
        "DESCRIPTION",
        "CPE_RANGE",
        "REFERENCES"
    ]
}

Affected versions

1.*
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-49146.json"