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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | zope | < 4.8.10, >= 5.8.0, < 5.8.5 | 4.8.10, 5.8.5 |
References
- https://github.com/zopefoundation/Zope/security/advisories/GHSA-wm8q-9975-xh5v
- https://nvd.nist.gov/vuln/detail/CVE-2023-42458
- https://github.com/zopefoundation/Zope/commit/26a55dbc301db417f47cafda6fe0f983b5690088
- https://github.com/zopefoundation/Zope/commit/603b0a12881c90a072a7a65e32d47ed898ce37cb
- https://github.com/zopefoundation/Zope
- http://www.openwall.com/lists/oss-security/2023/09/22/2
- https://pypi.org/project/zope
- https://github.com/advisories/GHSA-wm8q-9975-xh5v
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N- Weakness (CWE)
CWE-79- Platform
- Python (PyPI)
- Package
zope- Disclosed
- 21.09.2023
- Updated
- 11.10.2026 15:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-2077 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-wm8q-9975-xh5v - CC BY 4.0
Vulnerability history: zope
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 17
- First → latest
- 05.2021 11.2024
- Without a fix
- 4
- Exploited in attacks
- 0
Severity breakdown
- Critical 1
- High 8
- Medium 6
- Low 2
Disclosures per year
- 2021: 4
- 2022: 9
- 2023: 3
- 2024: 1
- 2025: 0
- 2026: 0
-
Zope vulnerable to Stored Cross Site Scripting with SVG images this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.