CVE-2021-3313 Plone XSS in User Fullname Property and File Upload

Medium 5.4 Published Updated

Stored XSS in Plone CMS allows attackers to execute JavaScript in victims' browsers via user fullname or file uploads.

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-3313?

CVE-2021-3313 is a medium-severity cross-site scripting vulnerability in Plone Plone, published on 20 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 CMS until version 5.2.4 has a stored Cross-Site Scripting (XSS) vulnerability in the user fullname property and the file upload functionality. The user's input data is not properly encoded when being echoed back to the user. This data can be interpreted as executable code by the browser and allows an attacker to execute JavaScript in the context of the victim's browser if the victim opens a vulnerable page containing an XSS payload.

Weakness: CWE-79

Which versions are affected by CVE-2021-3313?

3 open source packages ship an affected version, including plone and Plone. It affects 1 product.

PackageAffectedFixed in
plone PyPIAll versions5.2.4
plone PyPIAll versions5.2.4
Plone PyPIAll versions5.2.4

Products include Plone Plone.

How do I fix CVE-2021-3313?

Upgrade plone to 5.2.4 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-3313 being exploited?

There is no known exploitation of CVE-2021-3313 in the wild and no public exploit code.

All Plone Plone vulnerabilities

Sources

Also known as GHSA-hprr-4vfq-fcxw, PYSEC-2021-78.

Is CVE-2021-3313 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free