Vulnerability · Published Sep 21, 2023 · Assigned by GitHub_M

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

Low 3.7

In plain English

A low-severity cross-site scripting in Zope from zopefoundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.7Low
Exploit odds (30 days)0.7%top 46.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIzope4.8.10GHSA-wm8q-9975-xh5v
PyPIzope5.8.5GHSA-wm8q-9975-xh5v
PyPIzope4.8.10, 5.8.5PYSEC-2026-2077

Affected products (as reported)

VendorProductVersions
zopefoundation Zope < 4.8.10>= 5.0.0, < 5.8.5

Weakness: CWE-80, CWE-79 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N

References