GitHub Advisoryadvisory · Packagist

GHSA-5h7w-hmxc-99g5 Cross site scripting in safe-svg

MEDIUM Published 2022-04-19 Modified 2022-04-28 Official page ↗
Aliases
CVE-2022-1091
Ecosystem
Packagist
Packages
darylldoyle/safe-svg
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2022-04-28

Affected packages

• Packagist darylldoyle/safe-svg: < 1.9.10 → fixed in 1.9.10

Description

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

Related

Alias · CVE (1)

  • CVE-2022-1091 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… vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References