CVE-2023-42458: 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.
Other sources
Zope is an open-source web application server. Prior to versions 4.8.10 and 5.8.5, 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. Patches are available in Zope 4.8.10 and 5.8.5. As a workaround, make sure the "Add Documents, Images, and Files" permission is only assigned to trusted roles. By default, only the Manager has this permission.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the vulnerability ID for this issue?
The vulnerability ID for this issue is CVE-2023-42458.
What is the severity rating of CVE-2023-42458?
CVE-2023-42458 has a severity rating of 5.4 (medium).
What is the impact of CVE-2023-42458?
CVE-2023-42458 allows for stored cross site scripting attacks using SVG images.
Which versions of Zope are affected by CVE-2023-42458?
Versions up to 4.8.10 and 5.8.5 (inclusive) of Zope are affected by CVE-2023-42458.
How can I fix the vulnerability CVE-2023-42458?
To fix CVE-2023-42458, update your Zope installation to version 4.8.10 or 5.8.5 (or newer) depending on your current version.