Advisory

GHSA-5h7w-hmxc-99g5

Also known as: CVE-2022-1091

Summary

Cross site scripting in safe-svg

Details

The sanitisation step of the Safe SVG WordPress plugin before 1.9.10 can be bypassed by spoofing the content-type in the POST request to upload a file. Exploiting this vulnerability, an attacker will be able to perform the kinds of attacks that this plugin should prevent (mainly XSS, but depending on further use of uploaded SVG files potentially other XML attacks).

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-04-19 00:00 UTC
Modified
2023-11-08 04:07 UTC

Affected packages and fixes

darylldoyle/safe-svg

Packagist · All systems

Affected

  • introduced 0, fixed 1.9.10 (ecosystem)

Fixed versions

1.9.10

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