~ / search / GHSA-5h7w-hmxc-99g5

GHSA-5h7w-hmxc-99g5

Cross site scripting in safe-svg

Source: GitHub Advisory Database (reviewed) Moderate CVE-2022-1091

Packages

EcosystemPackageAffectedFixed in
Packagist darylldoyle/safe-svg < 1.9.10 1.9.10

Details

As written in the advisory (Markdown source, shown as plain text).

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).

References

External links from the advisory. They lead to third-party sites.