GHSA-8rc5-hx3v-2jg7

Suggest an improvement
Source
https://github.com/advisories/GHSA-8rc5-hx3v-2jg7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/02/GHSA-8rc5-hx3v-2jg7/GHSA-8rc5-hx3v-2jg7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8rc5-hx3v-2jg7
Aliases
Published
2020-02-27T20:36:29Z
Modified
2023-11-08T04:00:56.177055Z
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
Sanitizer bypass in svg-sanitizer
Details

It is possible to bypass enshrined/svg-sanitize before 0.13.1 using the "xlink:href" attribute due to mishandling of the xlink namespace by the sanitizer.

Database specific
{
    "nvd_published_at": null,
    "github_reviewed_at": "2020-02-25T15:32:43Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Packagist / enshrined/svg-sanitize

Package

Name
enshrined/svg-sanitize
Purl
pkg:composer/enshrined/svg-sanitize

Affected ranges

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

Affected versions

0.*

0.1.0
0.1.1
0.1.2
0.1.3
0.1.4
0.1.5
0.1.6
0.2.0
0.2.1
0.3.0
0.4.0
0.4.1
0.5.0
0.5.1
0.5.2
0.5.3
0.5.3.1
0.6.0
0.7.0
0.7.1
0.7.2
0.8.0
0.8.1
0.8.2
0.9.0
0.9.1
0.9.2
0.10.0
0.11.0
0.12.0
0.13.0