{"id":"CVE-2021-42134","aliases":["CVE-2021-42134","GHSA-ggmv-6q9p-9gm6","PYSEC-2021-369"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site Scripting in django-unicorn","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El framework Unicorn versiones anteriores a 0.36.1, para Django permite un ataque de tipo XSS por medio de un componente. NOTA: este problema se presenta debido a una corrección incompleta de CVE-2021-42053","source":"nvd"}],"published":"2021-10-11T00:55:43.000Z","modified":"2026-06-17T04:09:24.297Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.36.1"}],"ecosystem":"PyPI","package":"django-unicorn","purl":"pkg:pypi/django-unicorn","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.36.1"}],"vendor":"django-unicorn","product":"unicorn","cpe":"cpe:2.3:a:django-unicorn:unicorn:*:*:*:*:*:django:*:*","source":"nvd"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"3a832a9e3f6455ddd3b87f646247269918ad10c6"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.36.1"}],"ecosystem":"PyPI","package":"django-unicorn","purl":"pkg:pypi/django-unicorn","repo":"https://github.com/adamghill/django-unicorn","source":"pysec"}],"references":[{"url":"https://github.com/adamghill/django-unicorn/commit/3a832a9e3f6455ddd3b87f646247269918ad10c6","tags":["fix","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/adamghill/django-unicorn/compare/0.36.0...0.36.1","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42134","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/adamghill/django-unicorn","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-ggmv-6q9p-9gm6","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django-unicorn/PYSEC-2021-369.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-42134","url":"https://www.cve.org/CVERecord?id=CVE-2021-42134","licence":"CVE Terms of Use","modified":"2024-08-04T03:30:36.355Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-ggmv-6q9p-9gm6","url":"https://github.com/advisories/GHSA-ggmv-6q9p-9gm6","licence":"CC-BY-4.0","modified":"2024-09-16T22:08:01.557Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-42134","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42134","licence":"Public domain","modified":"2026-06-17T04:09:24.297Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-369","url":"https://osv.dev/vulnerability/PYSEC-2021-369","licence":"CC-BY-4.0","modified":"2023-11-08T04:07:04.975Z"}],"updatedAt":"2026-11-25T22:58:04.401Z","epss":{"score":0.00699,"percentile":0.54402,"date":"2026-12-01T12:00:22.000Z"}}