PT-2021-21355 · Typo3 · Svg-Sanitizer+1

Lukas Eder

+1

·

Published

2021-08-13

·

Updated

2022-02-10

·

CVE-2021-36787

CVSS v3.1

5.4

Medium

VectorAV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions femanager extension versions prior to 5.5.1 femanager extension versions 6.x prior to 6.3.1
Description The issue allows for Cross-Site Scripting (XSS) via a crafted SVG document. By default, the extension permits logged-in frontend users to upload SVG files as new profile images, which can lead to XSS when the uploaded image is used on the website.
Recommendations For versions prior to 5.5.1, update to version 5.5.1 or later. For versions 6.x prior to 6.3.1, update to version 6.3.1 or later. As a temporary workaround, consider disabling SVG file uploads for frontend users until a patch is applied. If SVG uploads are necessary, use the TYPO3 extension svg sanitizer to prevent malicious SVG file uploads or set up a strict Content Security Policy for the destination folder of uploaded images.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2021-36787
GHSA-F3RF-V9QM-9C89

Affected Products

Femanager
Svg-Sanitizer