# CVE-2023-42458: Zope vulnerable to Stored Cross Site Scripting with SVG images

- Severity: Low 3.7 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-09-21T16:34:11.747Z
- Modified: 2026-09-10T03:50:03.278Z
- Also known as: GHSA-wm8q-9975-xh5v, PYSEC-2026-2077
- Weaknesses: CWE-79, CWE-80
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- zopefoundation Zope: < 4.8.10; >= 5.0.0, < 5.8.5
- zope (PyPI): before 4.8.10; from 5.8.0 before 5.8.5
- zope zope: before 4.8.10; from 5.0.0 before 5.8.5

## Every score

- GitHub_M: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 3.7 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N`

## References

- <http://www.openwall.com/lists/oss-security/2023/09/22/2> (exploit, third-party-advisory, web)
- <https://github.com/zopefoundation/Zope/security/advisories/GHSA-wm8q-9975-xh5v> (third-party-advisory, web)
- <https://github.com/zopefoundation/Zope/commit/26a55dbc301db417f47cafda6fe0f983b5690088> (patch, web)
- <https://github.com/zopefoundation/Zope/commit/603b0a12881c90a072a7a65e32d47ed898ce37cb> (patch, 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)

## Sources

- CVE List: [CVE-2023-42458](https://www.cve.org/CVERecord?id=CVE-2023-42458), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-wm8q-9975-xh5v](https://github.com/advisories/GHSA-wm8q-9975-xh5v), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-42458](https://nvd.nist.gov/vuln/detail/CVE-2023-42458), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-2077](https://osv.dev/vulnerability/PYSEC-2026-2077), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2023-42458 · Whole record: https://cve.day/CVE-2023-42458.json · Rebuilt by cve.day 2026-11-25T22:58:28.058Z
