Skip to content
OpenAdvisories
Low · 3.7 CVE-2023-42458 EUVD-2023-2609GHSA-wm8q-9975-xh5vPYSEC-2026-2077

Zope vulnerable to Stored Cross Site Scripting with SVG images

Published Sep 21, 2023 · Updated Feb 13, 2025 · Assigned by GitHub_M

Description

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 products

VendorProductAffectedFixed
zopefoundation Zope < 4.8.10, >= 5.0.0, < 5.8.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI zope < 4.8.10 4.8.10 GHSA-wm8q-9975-xh5v
PyPI zope >= 5.8.0, < 5.8.5 5.8.5 GHSA-wm8q-9975-xh5v
PyPI zope < 4.8.10 · >= 5.8.0, < 5.8.5 4.8.10, 5.8.5 PYSEC-2026-2077

References