CVE-2021-3945 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-3945?

CVE-2021-3945 is a high-severity cross-site scripting vulnerability in django-helpdesk/django-helpdesk, published on 13 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-3945?

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.1
django-helpdesk PyPIAll versions0.3.1

Products include Django-Helpdesk Project Django-Helpdesk.

How do I fix CVE-2021-3945?

Upgrade django-helpdesk to 0.3.1 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-3945 being exploited?

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

Sources

Also known as GHSA-vx6v-xg64-pmr8, PYSEC-2021-430.

Is CVE-2021-3945 in your software?

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

Check your SBOMs for free