CVE-2021-33512 Cross-site scripting in Plone
A Contributor can execute stored XSS attacks in Plone by uploading malicious SVG or HTML documents, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-33512?
CVE-2021-33512 is a medium-severity cross-site scripting vulnerability in Plone Plone, published on 21 May 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
Plone through 5.2.4 allows stored XSS attacks (by a Contributor) by uploading an SVG or HTML document.
Weakness: CWE-79
Which versions are affected by CVE-2021-33512?
3 open source packages ship an affected version, including plone and Plone. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
plone PyPI | All versions to 5.2.4 | None |
plone PyPI | All versions | 5.2.5 |
Plone PyPI | All versions to 5.2.4 | None |
Products include Plone Plone.
How do I fix CVE-2021-33512?
Upgrade plone to 5.2.5 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2021-33512 being exploited?
There is no known exploitation of CVE-2021-33512 in the wild and no public exploit code.
Other vulnerabilities in Plone Plone
Sources
Also known as GHSA-hm2h-f456-6j88, PYSEC-2021-84.