CVE-2011-4924: Zope XSS Vulnerability in zope2 Package

zope2 Updated 06 Jul 2026

Summary

02/07/2026
Yes i
Medium
6.1

CVE-2011-4924: Zope XSS Vulnerability. Affects zope2 across 2 version ranges.

< 2.12.22 >= 2.13.0a1, < 2.13.12

Fixed in 2.12.22 or 2.13.12, depending on the release line you run. How to fix ↓

Also tracked for

The same CVE-2011-4924 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

Zope is an open-source web application server and framework for building dynamic web applications in Python. The zope2 package is a core component of Zope, providing essential functionalities for web development. Despite its robust capabilities, certain versions of zope2 are vulnerable to cross-site scripting (XSS) attacks, which can compromise the security of web applications built on this framework.

Vulnerability Detail

The vulnerability identified as CVE-2011-4924 is a cross-site scripting (XSS) flaw present in multiple versions of the zope2 package. This issue arises from inadequate sanitization of error messages, allowing remote attackers to inject arbitrary web scripts or HTML. The vulnerability affects versions of zope2 prior to 2.12.22 and 2.13.0a1, as well as versions 3.1.1 through 3.4.1. The incomplete fix for a previous vulnerability (CVE-2010-1104) has led to this security risk, which can result in unauthorized access to sensitive information or manipulation of web content.

How To Fix

Latest published version: 4.0.0 as of 23 Oct 2026

pip install --upgrade "zope2==4.0.0"

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 2.12.22 2.12.22
    pip install --upgrade "zope2==2.12.22"
  • >= 2.13.0a1, < 2.13.12 2.13.12
    pip install --upgrade "zope2==2.13.12"

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

If immediate upgrading is not feasible, consider implementing input validation and output encoding in your application to mitigate the risk of XSS attacks. Additionally, review and sanitize error messages to prevent script injection.

Conclusion

The CVE-2011-4924 vulnerability in the zope2 package poses a significant risk due to its potential for XSS attacks. Users are strongly encouraged to update to the latest patched versions to safeguard their applications. For those unable to upgrade immediately, implementing workarounds can help mitigate the risks associated with this vulnerability.

See every vulnerability recorded for zope2 →

Share this vulnerability

FAQ

CVE-2011-4924 is a cross-site scripting (XSS) vulnerability in the zope2 package that allows attackers to inject malicious scripts through unsanitized error messages.

The vulnerability affects zope2 versions prior to 2.12.22 and 2.13.0a1, as well as versions 3.1.1 through 3.4.1.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

The CVSS score for this vulnerability is 6.1, indicating a medium severity level.

If you cannot upgrade, implement input validation and output encoding to mitigate XSS risks, and sanitize error messages to prevent script injection.

Related vulnerabilities

Recent vulnerabilities recorded for zope2.

How To Fix

Latest published version: 4.0.0 as of 23 Oct 2026

pip install --upgrade "zope2==4.0.0"

Upgrading to it may include breaking changes; the versions below are the minimum fixed release for this vulnerability.

If you can't move to the latest

The minimum fixed version depends on the release line you run.

  • < 2.12.22 2.12.22
    pip install --upgrade "zope2==2.12.22"
  • >= 2.13.0a1, < 2.13.12 2.13.12
    pip install --upgrade "zope2==2.13.12"

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback