{"id":"CVE-2021-42053","aliases":["CVE-2021-42053","GHSA-c87f-fq5g-63r2","PYSEC-2021-357"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site scripting in Unicorn framework","summary":"The Unicorn framework through 0.35.3 for Django allows XSS via component.name.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The Unicorn framework through 0.35.3 for Django allows XSS via component.name.","source":"cvelist"},{"lang":"es","text":"El framework Unicorn versiones hasta 0.35.3 para Django permite un ataque de tipo XSS por medio de component.name","source":"nvd"}],"published":"2021-10-07T05:21:05.000Z","modified":"2026-06-17T04:09:13.840Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"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:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.36.0"}],"ecosystem":"PyPI","package":"django-unicorn","purl":"pkg:pypi/django-unicorn","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"0.35.3"}],"vendor":"django-unicorn","product":"unicorn","cpe":"cpe:2.3:a:django-unicorn:unicorn:*:*:*:*:*:django:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.36.0"}],"ecosystem":"PyPI","package":"django-unicorn","purl":"pkg:pypi/django-unicorn","source":"pysec"}],"references":[{"url":"https://github.com/adamghill/django-unicorn/pull/288/files","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","pysec"]},{"url":"http://packetstormsecurity.com/files/164442/django-unicorn-0.35.3-Cross-Site-Scripting.html","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/adamghill/django-unicorn/compare/0.35.3...0.36.0","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42053","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/adamghill/django-unicorn/pull/288","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/adamghill/django-unicorn/commit/aa5b9835d946bd9893ef02e556859e3ea62cc5e2","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/adamghill/django-unicorn","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-c87f-fq5g-63r2","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django-unicorn/PYSEC-2021-357.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-42053","url":"https://www.cve.org/CVERecord?id=CVE-2021-42053","licence":"CVE Terms of Use","modified":"2024-08-04T03:22:25.948Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c87f-fq5g-63r2","url":"https://github.com/advisories/GHSA-c87f-fq5g-63r2","licence":"CC-BY-4.0","modified":"2024-09-16T22:09:09.464Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-42053","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42053","licence":"Public domain","modified":"2026-06-17T04:09:13.840Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-357","url":"https://osv.dev/vulnerability/PYSEC-2021-357","licence":"CC-BY-4.0","modified":"2023-11-08T04:07:04.792Z"}],"updatedAt":"2026-11-25T22:58:04.359Z","epss":{"score":0.02524,"percentile":0.85308,"date":"2026-12-01T12:00:22.000Z"}}