CVE-2021-42053Django-unicorn Unicorn
Medium 5.4
Follow: this CVE · Django-unicorn · Django-unicorn Unicorn We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.4
- EPSS
- 2.5% probability of exploitation in 30 days · percentile 86
- Auth required
- Yes
- Published
- Oct 7, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
The Unicorn framework through 0.35.3 for Django allows XSS via component.name.
What to do
- Apply the vendor's security update for Unicorn.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | django-unicorn |
< 0.36.0 |
0.36.0 |
pip install "django-unicorn>=0.36.0" |
| PyPI | django-unicorn |
< 0.36.0 |
0.36.0 |
pip install "django-unicorn>=0.36.0" |
Per OSV / GitHub Advisories (GHSA-c87f-fq5g-63r2, PYSEC-2021-357). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| django-unicorn | unicorn | ≤ 0.35.3 |
Official sources
References
Links published by the sources. Open them with care.
- packetstormsecurity.com Exploit Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory