CVE-2021-3994: Cross-site Scripting Vulnerability in django-helpdesk

django-helpdesk Updated 02 Oct 2025

Summary

01/12/2021
Yes i
High
8.8

CVE-2021-3994: django-helpdesk is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Affects django-helpdesk across 2 version ranges.

< 0.3.2 < a22eb0673fe0b7784f99c6b5fd343b64a6700f06

Fixed in a22eb0673fe0b7784f99c6b5fd343b64a6700f06. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

django-helpdesk is a Python package available on PyPI that provides a ticketing system for customer support. It is commonly used in web applications to manage and track user inquiries. The package allows users to create, update, and close tickets, as well as communicate with customers. However, an issue has been identified in the package that makes it vulnerable to cross-site scripting (XSS) attacks.

Vulnerability Detail

The vulnerability in django-helpdesk arises from improper neutralization of input during web page generation. This means that user-supplied input is not properly sanitized before being included in the generated web page, allowing an attacker to inject malicious code. If an attacker successfully exploits this vulnerability, they can execute arbitrary JavaScript code in the context of the victim's browser. This can lead to various consequences, such as stealing sensitive information, performing actions on behalf of the victim, or modifying the appearance and behavior of the web page.

How To Fix

Minimum fixed version

a22eb0673fe0b7784f99c6b5fd343b64a6700f06

This is the first release that contains the fix.

pip install --upgrade "django-helpdesk==a22eb0673fe0b7784f99c6b5fd343b64a6700f06"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The cross-site scripting vulnerability in django-helpdesk can have serious security implications for web applications that utilize this package. It is crucial to update to the fixed version (0.3.2 or later) to protect against potential attacks. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for django-helpdesk →

Share this vulnerability

FAQ

The vulnerability allows an attacker to execute arbitrary JavaScript code in the victim's browser, potentially leading to various malicious activities.

At the moment, there is no known workaround for this vulnerability. It is recommended to update django-helpdesk to the latest version.

No, versions prior to 0.3.2 are affected by this vulnerability. It is important to update to the fixed version to mitigate the risk.

Yes, this vulnerability has been assigned the CVE identifier CVE-2021-3994.

You can find more information about this vulnerability in the advisory database of the Python Package Index (PyPI). The source for this vulnerability report can be accessed at: https://github.com/pypa/advisory-database/blob/main/vulns/django-helpdesk/PYSEC-2021-438.yaml

Related vulnerabilities

Recent vulnerabilities recorded for django-helpdesk.

How To Fix

Minimum fixed version

a22eb0673fe0b7784f99c6b5fd343b64a6700f06

This is the first release that contains the fix.

pip install --upgrade "django-helpdesk==a22eb0673fe0b7784f99c6b5fd343b64a6700f06"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback