# CVE-2021-3950: PYSEC-2021-431 - django-helpdesk is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source: https://junglewise.ai/threats/cve-2021-3950-cross-site-scripting-in-django-helpdesk  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2021-11-19  
License: CC BY 4.0 with a link back

CVE-2021-3950 · Severity: low · CVSS 3 · Published 2021-11-19

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

Technologies: [django-helpdesk (PyPI)](https://junglewise.ai/threats/technologies/django-helpdesk). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2021-3950 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-3950 being exploited in the wild.

**How severe is CVE-2021-3950?** Low severity, with a CVSS score of 3, published 19 November 2021.

**Which products and versions are affected?** django-helpdesk (PyPI) ECOSYSTEM:introduced=0,fixed=0.3.2, GIT:introduced=0,fixed=04483bdac3b5196737516398b5ce0383875a5c60|ECOSYSTEM:introduced=0,fixed=0.3.1.

**Is there a fix for CVE-2021-3950?** Yes. django-helpdesk (PyPI): upgrade to 0.3.1, 0.3.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2021-3950?** Check whether you run django-helpdesk (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- django-helpdesk (PyPI): upgrade to 0.3.1, 0.3.2 or later

  ```sh
  pip install "django-helpdesk>=0.3.2"
  ```


## Affected products

- django-helpdesk (PyPI) ECOSYSTEM:introduced=0,fixed=0.3.2, GIT:introduced=0,fixed=04483bdac3b5196737516398b5ce0383875a5c60|ECOSYSTEM:introduced=0,fixed=0.3.1

## Identifiers

- CVE-2021-3950
- GHSA-vfrc-ggmc-5jwv
- PYSEC-2021-431

## Related threats

- [PYSEC-2025-44 - django-helpdesk before 1.0.0 allows Sensitive Data Exposure because of os.umask(0) in models.py.](https://junglewise.ai/threats/cve-2018-25111-django-helpdesk-allows-sensitive-data-exposure)
- [PYSEC-2021-438 - django-helpdesk is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')](https://junglewise.ai/threats/cve-2021-3994-django-helpdesk-cross-site-scripting)
- [PYSEC-2021-430 - django-helpdesk is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')](https://junglewise.ai/threats/cve-2021-3945-cross-site-scripting-in-django-helpdesk)
