GitHub Advisoryadvisory · PyPI

GHSA-wm8q-9975-xh5v Zope vulnerable to Stored Cross Site Scripting with SVG images

LOW Published 2023-09-21 Modified 2023-09-21 Official page ↗
Aliases
CVE-2023-42458
Ecosystem
PyPI
Packages
Zope
Severity
Low
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
Weaknesses
CWE-79
Reviewed
2023-09-21

Affected packages

• PyPI Zope: < 4.8.10 → fixed in 4.8.10 • PyPI Zope: >= 5.8.0, < 5.8.5 → fixed in 5.8.5

Description

Impact 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. All versions of Zope are impacted on sites that allow untrusted users to upload images. Patches Patches will be released in Zope 4.8.10 and 5.8.5. Workarounds Make sure the "Add Documents, Images, and Files" permission is only assigned to trusted roles. By default only the Manager has this permission.

Related

Alias · CVE (1)

  • CVE-2023-42458 Zope is an open-source web application server. vulnerability

Weakness · CWE (1)

  • CWE-79 Improper Neutralization of Input During Web Page Generation weakness

References