CVE-2021-42053 json
Cross-site scripting in Unicorn framework
published 2021-10-07 5 y ago modified 2026-06-17 4 mo ago also GHSA-c87f-fq5g-63r2 , PYSEC-2021-357 , EUVD-2021-0058
- cvss
- 5.4
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 84%
- public exploits
- 1
- Exploit-DB
Summary
The Unicorn framework through 0.35.3 for Django allows XSS via component.name.
Patch / fix
- pypi django-unicorn 0.36.0
- github.com/adamghill/django-unicorn@aa5b983 commit
- github.com/adamghill/django-unicorn#288 pull request
- github.com/adamghill/django-unicorn#288 pull request
- github.com/adamghill/django-unicorn/compare/0.35.3...0.36.0 advisory
Timeline
- Published
- First public exploit (EDB-50393)
Exploit prediction
2.52% chance of exploitation in the next 30 days, higher than 84% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-50393 django-unicorn 0.35.3 - Stored Cross-Site Scripting (XSS) webapps, 2021-10-08
- packetstormsecurity.com http://packetstormsecurity.com/files/164442/django-unicorn-0.35.3-Cross-Site-Scripting.html referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 3.5 | AV:N/AC:M/Au:S/C:N/I:P/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | django-unicorn | <0.36.0 |
0.36.0 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/adamghill/django-unicorn/pull/288/files
patch, third-party-advisory, web
-
github.com
/adamghill/django-unicorn/compare/0.35.3...0.36.0
web, patch, third-party-advisory
-
github.com
/adamghill/django-unicorn/pull/288
web
-
github.com
/adamghill/django-unicorn/commit/aa5b9835d946bd9893ef02e556859e3ea62cc5e2
web
-
packetstormsecurity.com
/files/164442/django-unicorn-0.35.3-Cross-Site-Scripting.html
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-42053
advisory
-
github.com
/adamghill/django-unicorn
package
-
github.com
/advisories/GHSA-c87f-fq5g-63r2
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/django-unicorn/PYSEC-2021-357.yaml
web
Sources
- CVE List CVE-2021-42053
- GitHub Advisory GHSA-c87f-fq5g-63r2
- NVD CVE-2021-42053
- OSV PYSEC-2021-357
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.