GHSA-2ghm-r75j-pjx2

Suggest an improvement
Source
https://github.com/advisories/GHSA-2ghm-r75j-pjx2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/11/GHSA-2ghm-r75j-pjx2/GHSA-2ghm-r75j-pjx2.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-2ghm-r75j-pjx2
Aliases
Published
2023-11-23T00:30:58Z
Modified
2024-02-16T08:04:08.217056Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Cross-site Scripting in DOMSanitizer
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
{
    "nvd_published_at": "2023-11-22T22:15:08Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2023-11-23T03:36:50Z"
}
References

Affected packages

Packagist / rhukster/dom-sanitizer

Package

Name
rhukster/dom-sanitizer
Purl
pkg:composer/rhukster/dom-sanitizer

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.0.7

Affected versions

1.*

1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6