Advisory

GHSA-wm8q-9975-xh5v

Also known as: CVE-2023-42458, PYSEC-2026-2077

Summary

Zope vulnerable to Stored Cross Site Scripting with SVG images

Details

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.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2023-09-21 17:04 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

zope

PyPI · All systems

Affected

  • introduced 0, fixed 4.8.10 (ecosystem)

Fixed versions

4.8.10

Fix

  • Fixed version 4.8.10
    pip install --upgrade zope==4.8.10

zope

PyPI · All systems

Affected

  • introduced 5.8.0, fixed 5.8.5 (ecosystem)

Fixed versions

5.8.5

Fix

  • Fixed version 5.8.5
    pip install --upgrade zope==5.8.5

Fix 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

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences