CVE-2011-1948: Plone Cross-Site Scripting Vulnerability

MODERATE
Advisory Identifier: GHSA-p7h9-vf92-5fj5
CVSS 6.1
CWE-79
Published
Advisory Summary

CVE-2011-1948 is a MODERATE (CVSS 6.1) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Plone libraries in the PyPI ecosystem. The issue involves cross-site scripting in products.cmfplone and products.passwordresettool. Remediation is available by upgrading affected packages to version 4.1.1, 2.0.6, 4.0.7, 4.1rc3.

CVE-2011-1948 at a Glance

CVE Identifier CVE-2011-1948
GHSA Identifier GHSA-p7h9-vf92-5fj5
Severity MODERATE
CVSS v3.1 Base Score 6.1
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product Plone
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 6.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction Required (UI:R)
Scope Changed (S:C)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2011-1948

To remediate this vulnerability, upgrade all affected Plone dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Plone fixed: 4.1.1
pip install Plone>=4.1.1
Products.PasswordResetTool fixed: 2.0.6
pip install Products.PasswordResetTool>=2.0.6
Products.CMFPlone fixed: 4.0.7
pip install Products.CMFPlone>=4.0.7
Products.CMFPlone fixed: 4.1rc3
pip install Products.CMFPlone>=4.1rc3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show Plone

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2011-1948, inspect your installed packages using pip:

pip show Plone

Analyze the terminal output to locate any version of Plone in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.1.1), your application is affected.

Note: The pip show Plone command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Plone, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Cross-site scripting (XSS) vulnerability in Plone 4.1 and earlier allows remote attackers to inject arbitrary web script or HTML via a crafted URL.

CVE-2011-1948 Affected Plone Versions

4 component(s)
Fixed Versions:
4.1.12.0.64.0.74.1rc3
Product / Package Ecosystem Affected Versions Fixed Version
Plone
PyPI
< 4.1.1
4.1.1
Products.PasswordResetTool
PyPI
< 2.0.6
2.0.6
Products.CMFPlone
PyPI
< 4.0.7
4.0.7
Products.CMFPlone
PyPI
≥ 4.1a1
< 4.1rc3
4.1rc3

References

Frequently Asked Questions

What is CVE-2011-1948?
CVE-2011-1948 is a security vulnerability in Plone involving Cross-site scripting in Products.CMFPlone and Products.PasswordResetTool under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which Plone versions are affected?
Affected versions include releases prior to 4.1.1, 2.0.6, 4.0.7, 4.1rc3 across affected packages: Plone, Products.PasswordResetTool, Products.CMFPlone.
What version fixes CVE-2011-1948?
Upgrading to 4.1.1, 2.0.6, 4.0.7, 4.1rc3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Plone affected?
Yes, Plone is affected in releases prior to 4.1.1. Upgrade your dependency to 4.1.1 or later.
Is Products.PasswordResetTool affected?
Yes, Products.PasswordResetTool is affected in releases prior to 2.0.6. Upgrade your dependency to 2.0.6 or later.
What is the CVSS score of CVE-2011-1948?
CVE-2011-1948 has a CVSS v3.1 base score of 6.1 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
What CWE is associated with CVE-2011-1948?
CVE-2011-1948 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check PyPI dependencies for CVE-2011-1948?
Run the dependency tree command: 'pip show Plone'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-p7h9-vf92-5fj5",
  "modified" : "2024-10-14T21:44:29Z",
  "published" : "2018-07-23T19:50:57Z",
  "aliases" : [ "CVE-2011-1948" ],
  "summary" : "Cross-site scripting in Products.CMFPlone and Products.PasswordResetTool",
  "details" : "Cross-site scripting (XSS) vulnerability in Plone 4.1 and earlier allows remote attackers to inject arbitrary web script or HTML via a crafted URL.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Products.PasswordResetTool"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.0.6"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Products.CMFPlone"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.0.7"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Products.CMFPlone"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.1a1"
      }, {
        "fixed" : "4.1rc3"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.1rc2"
    }
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Plone"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.1.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2011-1948"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2012:0151"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2011-1948"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=711494"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/67693"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-p7h9-vf92-5fj5"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/plone/PYSEC-2011-14.yaml"
  }, {
    "type" : "WEB",
    "url" : "http://plone.org/products/plone/security/advisories/CVE-2011-1948"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:48:29Z",
    "nvd_published_at" : "2011-06-06T19:55:00Z"
  }
}