zope
Affected
- introduced
0, fixed4.8.10(ecosystem)
Fixed versions
4.8.10
Fix
- Fixed version
4.8.10pip install --upgrade zope==4.8.10
Advisory
Also known as: CVE-2023-42458, PYSEC-2026-2077
Zope vulnerable to Stored Cross Site Scripting with SVG images
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.
Low Basis: The source's own band: LOW
0, fixed 4.8.10 (ecosystem)4.8.10
4.8.10pip install --upgrade zope==4.8.105.8.0, fixed 5.8.5 (ecosystem)5.8.5
5.8.5pip install --upgrade zope==5.8.5Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0