{"id":"CVE-2023-42458","aliases":["CVE-2023-42458","GHSA-wm8q-9975-xh5v","PYSEC-2026-2077"],"related":[],"kind":"vulnerability","state":"published","title":"Zope vulnerable to Stored Cross Site Scripting with SVG images","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\nThere is a stored cross site scripting vulnerability for SVG images.\n\nNote 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.\n\nAll versions of Zope are impacted on sites that allow untrusted users to upload images.\n\n\n### Patches\nPatches will be released in Zope 4.8.10 and 5.8.5.\n\n### Workarounds\nMake sure the \"Add Documents, Images, and Files\" permission is only assigned to trusted roles. By default only the Manager has this permission.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Zope es un servidor de aplicaciones web de código abierto. Antes de las versiones 4.8.10 y 5.8.5, existe una vulnerabilidad de Cross Site Scripting almacenado para imágenes SVG. Tenga en cuenta que una etiqueta de imagen con una imagen SVG como fuente nunca es vulnerable, incluso cuando la imagen SVG contiene código malicioso. Para explotar la vulnerabilidad, un atacante primero tendría que cargar una imagen y luego engañar al usuario para que siga un enlace especialmente manipulado. Los parches están disponibles en Zope 4.8.10 y 5.8.5. Como workaround, asegúrese de que el permiso \"Add Documents, Images, and Files\" solo esté asignado a roles confiables. De forma predeterminada, sólo el Administrador tiene este permiso.","source":"nvd"}],"published":"2023-09-21T16:34:11.747Z","modified":"2026-09-10T03:50:03.278Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","score":3.7,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","score":3.7,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","score":3.7,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N","score":3.7,"rating":"LOW"}],"cwes":["CWE-79","CWE-80"],"affected":[{"ranges":[{"version":"< 4.8.10","status":"affected"},{"version":">= 5.0.0, < 5.8.5","status":"affected"}],"vendor":"zopefoundation","product":"Zope","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.8.10"}],"ecosystem":"PyPI","package":"zope","purl":"pkg:pypi/zope","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"5.8.0","status":"affected","fixed":"5.8.5"}],"ecosystem":"PyPI","package":"zope","purl":"pkg:pypi/zope","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.8.10"},{"status":"affected","introduced":"5.0.0","fixed":"5.8.5"}],"vendor":"zope","product":"zope","cpe":"cpe:2.3:a:zope:zope:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.8.10"},{"type":"ecosystem","introduced":"5.8.0","status":"affected","fixed":"5.8.5"}],"ecosystem":"PyPI","package":"zope","purl":"pkg:pypi/zope","source":"pysec"}],"references":[{"url":"https://github.com/zopefoundation/Zope/security/advisories/GHSA-wm8q-9975-xh5v","tags":["third-party-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/zopefoundation/Zope/commit/26a55dbc301db417f47cafda6fe0f983b5690088","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/zopefoundation/Zope/commit/603b0a12881c90a072a7a65e32d47ed898ce37cb","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://www.openwall.com/lists/oss-security/2023/09/22/2","tags":["exploit","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-42458","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/zopefoundation/Zope","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/zope","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-wm8q-9975-xh5v","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-09-24T14:48:49.811Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-42458","url":"https://www.cve.org/CVERecord?id=CVE-2023-42458","licence":"CVE Terms of Use","modified":"2025-02-13T17:09:22.913Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-wm8q-9975-xh5v","url":"https://github.com/advisories/GHSA-wm8q-9975-xh5v","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:03.278Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-42458","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-42458","licence":"Public domain","modified":"2026-06-17T06:23:52.493Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-2077","url":"https://osv.dev/vulnerability/PYSEC-2026-2077","licence":"CC-BY-4.0","modified":"2026-07-07T17:48:17.121Z"}],"updatedAt":"2026-11-25T22:58:28.058Z","epss":{"score":0.00714,"percentile":0.54931,"date":"2026-12-01T12:00:22.000Z"}}