CVE-2021-3950 Cross-site Scripting (XSS) - Stored in django-helpdesk/django-helpdesk

High 8.8 Published Updated

Attackers can inject malicious scripts into django-helpdesk pages, potentially stealing user data or executing code in victim browsers.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-3950?

CVE-2021-3950 is a high-severity cross-site scripting vulnerability in django-helpdesk/django-helpdesk, published on 19 Nov 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

django-helpdesk is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Weakness: CWE-79

Which versions are affected by CVE-2021-3950?

3 open source packages ship an affected version, including django-helpdesk. It affects 1 product.

PackageAffectedFixed in
django-helpdesk PyPIAll versions0.3.1
django-helpdesk PyPIAll versions0.3.2
django-helpdesk PyPIAll versions0.3.2

Products include Django-Helpdesk Project Django-Helpdesk.

How do I fix CVE-2021-3950?

Upgrade django-helpdesk to a fixed version for your release line: 0.3.1 or 0.3.2.

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-3950 being exploited?

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

Sources

Also known as GHSA-vfrc-ggmc-5jwv, PYSEC-2021-431.

Is CVE-2021-3950 in your software?

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

Check your SBOMs for free