CVE-2023-42458: Zope vulnerable to Stored Cross Site Scripting with SVG images

Published Sep 21, 2023
·
Updated

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

4 affected componentsFixes available
pip/Zope>=5.8.0<=5.8.4
5.8.5
pip/Zope<=4.8.9
4.8.10
Zope Zope<4.8.10
Zope Zope>=5.0.0<5.8.5

Event History

Sep 21, 2023
CVE Published
via MITRE·04:34 PM
Data Sourced
via MITRE·04:34 PM
DescriptionSeverityWeakness
Advisory Published
05:04 PM
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the vulnerability ID for this issue?

The vulnerability ID for this issue is CVE-2023-42458.

2

What is the severity rating of CVE-2023-42458?

CVE-2023-42458 has a severity rating of 5.4 (medium).

3

What is the impact of CVE-2023-42458?

CVE-2023-42458 allows for stored cross site scripting attacks using SVG images.

4

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.

5

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203