CVE-2021-42053
Cross-site scripting in Unicorn framework
The Unicorn framework through 0.35.3 for Django allows XSS via component.name.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
5.4
The Unicorn framework through 0.35.3 for Django allows XSS via component.name.
- Record
CVE-2021-42053- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - CVSS 2.0
- 3.5 Low
AV:N/AC:M/Au:S/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List No score
The Unicorn framework through 0.35.3 for Django allows XSS via component.name.
- Record
CVE-2021-42053- Updated
- 2026-11-02
EUVDEUVD-2021-0058 No score
The Unicorn framework through 0.35.3 for Django allows XSS via component.name.
- Record
EUVD-2021-0058- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-c87f-fq5g-63r2
5.3
Cross-site scripting in Unicorn framework
The Unicorn framework through 0.35.3 for Django allows XSS via component.name.
- Record
GHSA-c87f-fq5g-63r2- CVSS 4.0
- 5.3 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N - CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
5.4
The Unicorn framework through 0.35.3 for Django allows XSS via component.name.
- Record
CVE-2021-42053- CVSS 3.1
- 5.4 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVGHSA-c87f-fq5g-63r2
5.3
Cross-site scripting in Unicorn framework
The Unicorn framework through 0.35.3 for Django allows XSS via component.name.
- Record
GHSA-c87f-fq5g-63r2- CVSS 4.0
- 5.3 Medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N - CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSVPYSEC-2021-357 No score
The Unicorn framework through 0.35.3 for Django allows XSS via component.name.
- Record
PYSEC-2021-357- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
django-unicornPyPI |
before 0.36.0 | 0.36.0 |
django-unicornPyPI |
before 0.36.0, plus listed versions 0.1.00.1.10.10.00.10.10.11.0 Show 45 moreShow less0.11.10.11.20.12.00.13.00.14.00.14.10.15.00.15.10.16.00.16.10.17.00.17.10.17.20.18.00.18.10.19.00.2.00.2.10.2.20.2.30.20.00.21.00.21.20.22.00.23.00.24.00.25.00.26.00.27.00.27.10.27.20.28.00.29.00.3.00.30.00.31.00.32.00.33.00.34.00.35.00.35.20.35.30.4.00.5.00.6.0 |
0.36.0 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| Exploit-DB | django-unicorn 0.35.3 - Stored Cross-Site Scripting (XSS) | 2021-10-08 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, Exploit-DB, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-42053 is a medium vulnerability (CVSS 5.4) in Django-unicorn Unicorn, published October 7, 2021. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 2.52%, the 84th percentile. Fixed in django-unicorn 0.36.0.
References
github.com/adamghill/django-unicorn/pull/288/files
packetstormsecurity.com/files/164442/django-unicorn-0.35.3-Cross-Site-Scripting.html
github.com/adamghill/django-unicorn/compare/0.35.3...0.36.0
nvd.nist.gov/vuln/detail/CVE-2021-42053
github.com/adamghill/django-unicorn/pull/288
github.com/adamghill/django-unicorn/commit/aa5b9835d946bd9893ef02e556859e3ea62cc5e2
github.com/advisories/GHSA-c87f-fq5g-63r2
github.com/pypa/advisory-database/tree/main/vulns/django-unicorn/PYSEC-2021-357.yaml
github.com/adamghill/django-unicorn
Left out here: 13 versions. The JSON record has them.