# CVE-2021-42134: Cross-site Scripting in django-unicorn

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.70%, higher than 54% of CVEs (2026-12-01)
- Published: 2021-10-11T00:55:43.000Z
- Modified: 2026-06-17T04:09:24.297Z
- Also known as: GHSA-ggmv-6q9p-9gm6, PYSEC-2021-369
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- django-unicorn (PyPI): before 0.36.1; before 3a832a9e3f6455ddd3b87f646247269918ad10c6
- django-unicorn unicorn: before 0.36.1

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/adamghill/django-unicorn/commit/3a832a9e3f6455ddd3b87f646247269918ad10c6> (fix, patch, third-party-advisory, web)
- <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)

## Sources

- CVE List: [CVE-2021-42134](https://www.cve.org/CVERecord?id=CVE-2021-42134), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-ggmv-6q9p-9gm6](https://github.com/advisories/GHSA-ggmv-6q9p-9gm6), CC-BY-4.0, modified 2024-09-16
- NVD: [CVE-2021-42134](https://nvd.nist.gov/vuln/detail/CVE-2021-42134), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2021-369](https://osv.dev/vulnerability/PYSEC-2021-369), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2021-42134 · Whole record: https://cve.day/CVE-2021-42134.json · Rebuilt by cve.day 2026-11-25T22:58:04.401Z
