Lookup for vulnerable packages by Package URL.

Purlpkg:composer/enshrined/svg-sanitize@0.16.0
Typecomposer
Namespaceenshrined
Namesvg-sanitize
Version0.16.0
Qualifiers
Subpath
Is_vulnerablefalse
Next_non_vulnerable_version0.12.0
Latest_non_vulnerable_version0.16.0
Affected_by_vulnerabilities
Fixing_vulnerabilities
0
url VCID-nm7v-gfjy-kkau
vulnerability_id VCID-nm7v-gfjy-kkau
summary
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
savg-sanitizer is a PHP SVG/XML Sanitizer. A bypass has been found in versions prior to 0.16.0 that allows an attacker to upload an SVG with persistent cross-site scripting. HTML elements within CDATA needed to be sanitized correctly, as we were converting them to a textnode and therefore, the library wasn't seeing them as DOM elements. This issue is fixed in version 0.16.0. Any data within a CDATA node will now be sanitised using HTMLPurifier. The maintainers have also removed many of the HTML and MathML elements from the allowed element list, as without ForiegnObject, they're not legal within the SVG context. There are no known workarounds.
references
0
reference_url https://github.com/darylldoyle/svg-sanitizer/commit/cce18bc237c05c6e093e9672db7926788da9b322
reference_id
reference_type
scores
url https://github.com/darylldoyle/svg-sanitizer/commit/cce18bc237c05c6e093e9672db7926788da9b322
1
reference_url https://nvd.nist.gov/vuln/detail/CVE-2023-28426
reference_id CVE-2023-28426
reference_type
scores
url https://nvd.nist.gov/vuln/detail/CVE-2023-28426
2
reference_url https://github.com/advisories/GHSA-xrqq-wqh4-5hg2
reference_id GHSA-xrqq-wqh4-5hg2
reference_type
scores
url https://github.com/advisories/GHSA-xrqq-wqh4-5hg2
3
reference_url https://github.com/darylldoyle/svg-sanitizer/security/advisories/GHSA-xrqq-wqh4-5hg2
reference_id GHSA-xrqq-wqh4-5hg2
reference_type
scores
url https://github.com/darylldoyle/svg-sanitizer/security/advisories/GHSA-xrqq-wqh4-5hg2
fixed_packages
0
url pkg:composer/enshrined/svg-sanitize@0.16.0
purl pkg:composer/enshrined/svg-sanitize@0.16.0
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:composer/enshrined/svg-sanitize@0.16.0
aliases CVE-2023-28426, GHSA-xrqq-wqh4-5hg2
risk_score null
exploitability null
weighted_severity null
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-nm7v-gfjy-kkau
Risk_scorenull
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:composer/enshrined/svg-sanitize@0.16.0