CVE-2021-35959: Plone has stored XSS in folder contents
6.1
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.65064%
CWE
Published
5/24/2022
Updated
10/18/2024
KEV Status
No
Technology
Python
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
plone | pip | >= 5.0, <= 5.2.4 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper output sanitization in the folder contents view template. The advisory indicates the XSS occurs when a folder's description containing a SCRIPT tag is rendered. Plone's folder contents view uses the listing.pt
template (part of plone.app.content
) to display metadata, including descriptions. The template likely used 'structure' keyword or similar unsafe rendering for the description field, allowing raw HTML injection. The hotfix addressed this by implementing proper escaping, confirming the template rendering mechanism was the vulnerable component.