CVE-2021-42053
MEDIUM 5.4CVSS 3.1Cross-site scripting in Unicorn framework
The Unicorn framework through 0.35.3 for Django allows XSS via component.name.
- Published
- 7 Oct 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-c87f-fq5g-63r2PYSEC-2021-357
- Sources
- NVDJSONOSV GHSA-c87f-fq5g-63r2JSONOSV PYSEC-2021-357JSON
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 | |
| 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 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | LOW 3.5 | AV:N/AC:M/Au:S/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.35.3 | |
| OSV | PyPI | django-unicorn | < 0.36.0 | 0.36.0 |
References
- http://packetstormsecurity.com/files/164442/django-unicorn-0.35.3-Cross-Site-Scripting.html · Exploit, Third Party Advisory, WEB
- https://github.com/adamghill/django-unicorn/compare/0.35.3...0.36.0 · Patch, Third Party Advisory, WEB
- https://github.com/adamghill/django-unicorn/pull/288/files · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-42053 · ADVISORY
- https://github.com/adamghill/django-unicorn/pull/288 · WEB
- https://github.com/adamghill/django-unicorn/commit/aa5b9835d946bd9893ef02e556859e3ea62cc5e2 · WEB
- https://github.com/adamghill/django-unicorn · PACKAGE
- https://github.com/advisories/GHSA-c87f-fq5g-63r2 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/django-unicorn/PYSEC-2021-357.yaml · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 7 Oct 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Oct 2021)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 Oct 2021)