Zope vulnerable to Stored Cross Site Scripting with SVG images
GHSA-wm8q-9975-xh5v · CVE-2023-42458 · PYSEC-2026-2077
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
Impact
There is a stored cross site scripting vulnerability for SVG images.
Note that an image tag with an SVG image as source is never vulnerable, even when the SVG image contains malicious code. To exploit the vulnerability, an attacker would first need to upload an image, and then trick a user into following a specially crafted link.
All versions of Zope are impacted on sites that allow untrusted users to upload images.
Patches
Patches will be released in Zope 4.8.10 and 5.8.5.
Workarounds
Make sure the "Add Documents, Images, and Files" permission is only assigned to trusted roles. By default only the Manager has this permission.
References
- WEB https://github.com/zopefoundation/Zope/security/advisories/GHSA-wm8q-9975-xh5v
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2023-42458
- WEB https://github.com/zopefoundation/Zope/commit/26a55dbc301db417f47cafda6fe0f983b5690088
- WEB https://github.com/zopefoundation/Zope/commit/603b0a12881c90a072a7a65e32d47ed898ce37cb
- PACKAGE https://github.com/zopefoundation/Zope
- WEB http://www.openwall.com/lists/oss-security/2023/09/22/2
Ready to move
Start Securing
Free, no credit card | First findings in minutes