CVE-2023-42458: Zope vulnerable to Stored Cross Site Scripting with SVG images
Vulnerability summary
CVE-2023-42458 is a medium (CVSS 5.4) vulnerability in zope. EPSS estimates a 0.71% chance of exploitation in the next 30 days, higher than 53.7% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 21-09-2023PublishedVulnerability first disclosed.
- 13-02-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA3.7LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:NDiffers
- OSV · PypiEcosystem advisory · calculated3.7LowCVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:NDiffers
EPSS trend
Probability
0.71%
Chance of exploitation in the next 30 days
Percentile
54%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.71% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundExploit Reference (openwall.com)
Maturity: unknown
Weaknesses
CWE · root cause- CWE-79Improper Neutralization of Input During Web Page GenerationThe product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
- CWE-80Improper Neutralization of Script-Related HTML Tags in a Web PageThe product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes special characters such as "<", ">", and "&" that could be interpreted as web-scripting elements when they are sent to a downstream component that processes web pages.
Affected systems
Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
PyPI1 product
- zope< 4.8.10 | ≥ 5.8.0, < 5.8.5
Zope1 product
- zope< 4.8.10 | ≥ 5.0.0, < 5.8.5
Zopefoundation1 product
- zope< 4.8.10 | ≥ 5.0.0, < 5.8.5
3 vendors · 3 products
References
8 links- github.com/zopefoundation/Zope/security/advisories/GHSA-wm8q-9975-xh5vX Refsource CONFIRMWEBThird Party Advisory
- github.com/zopefoundation/Zope/commit/26a55dbc301db417f47cafda6fe0f983b5690088X Refsource MISCWEBPatch
- github.com/zopefoundation/Zope/commit/603b0a12881c90a072a7a65e32d47ed898ce37cbX Refsource MISCWEBPatch
- pypi.org/project/zopePACKAGE