All reports
Low

Zope vulnerable to Stored Cross Site Scripting with SVG images

Affected versions

Version ranges need review.

PyPIzope
Affected versions
<4.8.10 || >=5.8.0 <5.8.5
Fixed version
4.8.10 · 5.8.5
PyPIzope
Affected versions
>= 5.8.0, <= 5.8.4
Fixed version
5.8.5
PyPIzope
Affected versions
<= 4.8.9
Fixed version
4.8.10

Exploitation

CVE-2023-42458

Probability of exploitation in the next 30 days: 0.71%

FIRST EPSS · 2026-11-20

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.

Links

Credits

  • mauritsvanrees
  • icemac