Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. zope
  4. ›
  5. CVE-2023-42458

CVE-2023-42458: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)

September 21, 2023 (updated September 25, 2023)

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.

References

  • github.com/advisories/GHSA-wm8q-9975-xh5v
  • github.com/zopefoundation/Zope/commit/26a55dbc301db417f47cafda6fe0f983b5690088
  • github.com/zopefoundation/Zope/commit/603b0a12881c90a072a7a65e32d47ed898ce37cb
  • github.com/zopefoundation/Zope/security/advisories/GHSA-wm8q-9975-xh5v

Code Behaviors & Features

Detect and mitigate CVE-2023-42458 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.8.10, all versions starting from 5.0.0 before 5.8.5

Fixed versions

  • 4.8.10
  • 5.8.5

Solution

Upgrade to versions 4.8.10, 5.8.5 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/zope/CVE-2023-42458.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:50 +0000.