MEDIUM
GHSA-f3rf-v9qm-9c89
Cross-site Scripting in the femanager TYPO3 extension
Quick fix
GHSA-f3rf-v9qm-9c89 — in2code/femanager: upgrade to the fixed version with the command below.
composer require in2code/femanager:^5.5.1Details
The extension allows by default to upload SVG files when a logged in frontend user uploads a new profile image. This may lead to Cross-Site Scripting, when the uploaded SVG image is used as is on the website.
Note: If SVG uploads are required, it is recommended to use the TYPO3 extension svg_sanitizer (added to TYPO3 core since versions 9.5.28, 10.4.18 and 11.3.0) to prevent upload of malicious SVG files or to set up a strict Content Security Policy for the destination folder of uploaded images.
Are you affected?
Enter the version of the package you're using.
Affected packages
Packagist/in2code/femanager
Introduced in:
0Fixed in: 5.5.1Fix
composer require in2code/femanager:^5.5.1Packagist/in2code/femanager
Introduced in:
6.0.0Fixed in: 6.3.1Fix
composer require in2code/femanager:^6.3.1References
- https://nvd.nist.gov/vuln/detail/CVE-2021-36787[ADVISORY]
- https://github.com/in2code-de/femanager/commit/70f873c60f0e40ffd6a1300218ca368156fc1bf2[WEB]
- https://extensions.typo3.org/extension/femanager[WEB]
- https://github.com/in2code-de/femanager[PACKAGE]
- https://github.com/in2code-de/femanager/releases/tag/6.3.1[WEB]
- https://typo3.org/help/security-advisories/security[WEB]
- https://typo3.org/security/advisory/typo3-ext-sa-2021-010[WEB]
- http://packetstormsecurity.com/files/165675/TYPO3-femanager-6.3.0-Cross-Site-Scripting.html[WEB]
- http://seclists.org/fulldisclosure/2022/Jan/53[WEB]