Advisory

GHSA-8rc5-hx3v-2jg7

Also known as: CVE-2019-10772, SNYK-PHP-ENSHRINEDSVGSANITIZE-536969

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2020-02-27 20:36 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

enshrined/svg-sanitize

Packagist · All systems

Affected

  • introduced 0, fixed 0.13.1 (ecosystem)

Fixed versions

0.13.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences