{"id":"CVE-2023-42458","published":"2023-09-21T16:34:11Z","modified":"2025-02-13T17:09:22Z","title":"Zope vulnerable to Stored Cross Site Scripting with SVG images","vendor":"zopefoundation","product":"Zope","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00632,"percentile":0.44776,"provenance":"source"},"cwes":[{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"},{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/zopefoundation/Zope/security/advisories/GHSA-wm8q-9975-xh5v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/zopefoundation/Zope/commit/26a55dbc301db417f47cafda6fe0f983b5690088","tags":["x_refsource_MISC"]},{"url":"https://github.com/zopefoundation/Zope/commit/603b0a12881c90a072a7a65e32d47ed898ce37cb","tags":["x_refsource_MISC"]},{"url":"http://www.openwall.com/lists/oss-security/2023/09/22/2","tags":[]}],"priority":{"score":11.5,"factors":[{"name":"EPSS percentile","points":8.96},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"zopefoundation","affectedVersions":[{"vendor":"zopefoundation","product":"Zope","versions":["< 4.8.10",">= 5.0.0, < 5.8.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-09-24T14:48:49.811652Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"Zope","vulnerableRanges":["<4.8.10",">=5.8.0, <5.8.5"],"patched":["4.8.10","5.8.5"],"from":["GHSA-wm8q-9975-xh5v","PYSEC-2026-2077"],"provenance":"source"}],"summary":{"text":"A stored cross-site scripting flaw in Zope, an open-source web application server, lets malicious SVG image content be stored and later rendered in a way that executes script. An attacker with low privileges who holds the permission to add documents, images, and files (by default only the Manager role) can exploit it by uploading a crafted SVG and tricking a user into following a specially crafted link, requiring user interaction, network access, and low-privilege authentication.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:14Z"},"euvd":{"id":"EUVD-2023-2609","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2021-32674","published":"2021-06-08","fixed":"5.2.1","kev":false},{"cve":"CVE-2021-32811","published":"2021-08-02","fixed":"5.3","kev":false},{"cve":"CVE-2023-41050","published":"2023-09-06","fixed":"5.8.4","kev":false,"link":{"from":"CVE-2023-41050","to":"CVE-2023-42458","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:Zope","fromFixed":"4.8.9","toFixed":"4.8.10","daysApart":15},{"kind":"version-step","provenance":"source","package":"PyPI:Zope","fromFixed":"5.8.4","toFixed":"5.8.5","daysApart":15}]}},{"cve":"CVE-2023-42458","published":"2023-09-21","fixed":"5.8.5","kev":false},{"cve":"CVE-2023-44389","published":"2023-10-04","fixed":"5.8.6","kev":false,"link":{"from":"CVE-2023-42458","to":"CVE-2023-44389","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:Zope","fromFixed":"4.8.10","toFixed":"4.8.11","daysApart":13},{"kind":"version-step","provenance":"source","package":"PyPI:Zope","fromFixed":"5.8.5","toFixed":"5.8.6","daysApart":13}]}},{"cve":"CVE-2024-51734","published":"2024-11-04","fixed":"5.11.1","kev":false}],"package":"PyPI:Zope"}}