CVE-2023-42458
MEDIUM 5.4CVSS 3.1Zope vulnerable to Stored Cross Site Scripting with SVG images
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.
- Published
- 21 Sep 2023
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-wm8q-9975-xh5vPYSEC-2026-2077
- Sources
- NVDJSONOSV GHSA-wm8q-9975-xh5vJSONOSV PYSEC-2026-2077JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | LOW 3.7 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | zope | zopecpe:2.3:a:zope:zope:*:*:*:*:*:*:*:* |
< 4.8.10 | 4.8.10 |
| NVD | zope | zopecpe:2.3:a:zope:zope:*:*:*:*:*:*:*:* |
>= 5.0.0, < 5.8.5 | 5.8.5 |
| OSV | PyPI | zope | < 4.8.10 | 4.8.10 |
| OSV | PyPI | zope | >= 5.8.0, < 5.8.5 | 5.8.5 |
| OSV | PyPI | zope | < 4.8.10; >= 5.8.0, < 5.8.5 | 4.8.10, 5.8.5 |
References
- http://www.openwall.com/lists/oss-security/2023/09/22/2 · Exploit, Third Party Advisory, WEB
- https://github.com/zopefoundation/Zope/commit/26a55dbc301db417f47cafda6fe0f983b5690088 · Patch, WEB
- https://github.com/zopefoundation/Zope/commit/603b0a12881c90a072a7a65e32d47ed898ce37cb · Patch, WEB
- https://github.com/zopefoundation/Zope/security/advisories/GHSA-wm8q-9975-xh5v · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-42458 · ADVISORY
- https://github.com/zopefoundation/Zope · PACKAGE
- https://pypi.org/project/zope · PACKAGE
- https://github.com/advisories/GHSA-wm8q-9975-xh5v · ADVISORY
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 21 Sep 2023)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 21 Sep 2023)