GitHub Advisoryadvisory · Packagist
GHSA-f3rf-v9qm-9c89 Cross-site Scripting in the femanager TYPO3 extension
MEDIUM
Official page ↗
- Aliases
- CVE-2021-36787
- Ecosystem
- Packagist
- Packages
- in2code/femanager
- Severity
- Moderate
- Weaknesses
- CWE-79
- Reviewed
- 2021-08-30
Affected packages
• Packagist in2code/femanager: < 5.5.1 → fixed in 5.5.1
• Packagist in2code/femanager: >= 6.0.0, < 6.3.1 → fixed in 6.3.1
Description
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.
Related
Alias · CVE (1)
- CVE-2021-36787 The femanager extension before 5.5.1 and 6.x before 6.3.1 for TYPO3 allows XSS via a crafted SVG document. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- 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