CVE-2021-42134 json
Cross-site Scripting in django-unicorn
published 2021-10-11 5 y ago modified 2026-06-17 4 mo ago also GHSA-ggmv-6q9p-9gm6 , PYSEC-2021-369 , EUVD-2021-0059
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 53%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi django-unicorn 0.36.1
- django-unicorn unicorn 0.36.1
Exploit prediction
0.70% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/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.1 |
0.36.1 |
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/adamghill/django-unicorn/commit/3a832a9e3f6455ddd3b87f646247269918ad10c6
web, patch, third-party-advisory
-
github.com
/adamghill/django-unicorn/compare/0.36.0...0.36.1
web, patch, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-42134
advisory
-
github.com
/adamghill/django-unicorn
package
-
github.com
/advisories/GHSA-ggmv-6q9p-9gm6
advisory
-
github.com
/pypa/advisory-database/tree/main/vulns/django-unicorn/PYSEC-2021-369.yaml
web
Sources
- CVE List CVE-2021-42134
- GitHub Advisory GHSA-ggmv-6q9p-9gm6
- NVD CVE-2021-42134
- OSV PYSEC-2021-369
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.