CVE-2021-42134
MEDIUM 6.1CVSS 3.1Cross-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.
- Published
- 11 Oct 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-ggmv-6q9p-9gm6PYSEC-2021-369
- Sources
- NVDJSONOSV GHSA-ggmv-6q9p-9gm6JSONOSV PYSEC-2021-369JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | django-unicorn | unicorncpe:2.3:a:django-unicorn:unicorn:*:*:*:*:*:django:*:* |
< 0.36.1 | 0.36.1 |
| OSV | PyPI | django-unicorn | < 0.36.1 | 0.36.1 |
References
- https://github.com/adamghill/django-unicorn/commit/3a832a9e3f6455ddd3b87f646247269918ad10c6 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/adamghill/django-unicorn/compare/0.36.0...0.36.1 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-42134 · ADVISORY
- https://github.com/adamghill/django-unicorn · PACKAGE
- https://github.com/advisories/GHSA-ggmv-6q9p-9gm6 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/django-unicorn/PYSEC-2021-369.yaml · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 11 Oct 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 11 Oct 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 Oct 2021)