CVE-2021-42134
Cross-site Scripting in django-unicorn
The Unicorn framework before 0.36.1 for Django allows XSS via a component. NOTE: this issue exists because of an incomplete fix for CVE-2021-42053.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
6.1
The Unicorn framework before 0.36.1 for Django allows XSS via a component. NOTE: this issue exists because of an incomplete fix for CVE-2021-42053.
- Record
CVE-2021-42134- 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 - CVSS 2.0
- 4.3 Medium
AV:N/AC:M/Au:N/C:N/I:P/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
CVE List No score
The Unicorn framework before 0.36.1 for Django allows XSS via a component. NOTE: this issue exists because of an incomplete fix for CVE-2021-42053.
- Record
CVE-2021-42134- Updated
- 2026-11-02
EUVDEUVD-2021-0059 No score
The Unicorn framework before 0.36.1 for Django allows XSS via a component. NOTE: this issue exists because of an incomplete fix for CVE-2021-42053.
- Record
EUVD-2021-0059- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-ggmv-6q9p-9gm6
5.3
Cross-site Scripting in django-unicorn
The Unicorn framework before 0.36.1 for Django allows XSS via a component. NOTE: this issue exists because of an incomplete fix for CVE-2021-42053.
- Record
GHSA-ggmv-6q9p-9gm6- 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
6.1
The Unicorn framework before 0.36.1 for Django allows XSS via a component. NOTE: this issue exists because of an incomplete fix for CVE-2021-42053.
- Record
CVE-2021-42134- 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 - Updated
- 2026-11-02
OSVGHSA-ggmv-6q9p-9gm6
5.3
Cross-site Scripting in django-unicorn
The Unicorn framework before 0.36.1 for Django allows XSS via a component. NOTE: this issue exists because of an incomplete fix for CVE-2021-42053.
- Record
GHSA-ggmv-6q9p-9gm6- 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-369 No score
The Unicorn framework before 0.36.1 for Django allows XSS via a component. NOTE: this issue exists because of an incomplete fix for CVE-2021-42053.
- Record
PYSEC-2021-369- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
django-unicornPyPI |
before 0.36.1 | 0.36.1 |
django-unicornPyPI |
before 0.36.1, 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.36.00.4.00.5.0 |
0.36.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-42134 is a medium vulnerability (CVSS 6.1) in Django-unicorn Unicorn, published October 11, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.70%, the 53rd percentile. Fixed in django-unicorn 0.36.1.
References
github.com/adamghill/django-unicorn/commit/3a832a9e3f6455ddd3b87f646247269918ad10c6
github.com/adamghill/django-unicorn/compare/0.36.0...0.36.1
nvd.nist.gov/vuln/detail/CVE-2021-42134
github.com/advisories/GHSA-ggmv-6q9p-9gm6
github.com/pypa/advisory-database/tree/main/vulns/django-unicorn/PYSEC-2021-369.yaml
github.com/adamghill/django-unicorn
Left out here: 14 versions. The JSON record has them.