{"id":"CVE-2021-42053","published":"2021-10-07T05:21:05Z","modified":"2024-08-04T03:22:25Z","title":"The Unicorn framework through 0.35.3 for Django allows XSS via component.name","vendor":null,"product":null,"tier":"tail","description":{"text":"The Unicorn framework through 0.35.3 for Django allows XSS via component.name.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.02524,"percentile":0.85254,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/adamghill/django-unicorn/pull/288/files","tags":["x_refsource_MISC"]},{"url":"http://packetstormsecurity.com/files/164442/django-unicorn-0.35.3-Cross-Site-Scripting.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/adamghill/django-unicorn/compare/0.35.3...0.36.0","tags":["x_refsource_MISC"]}],"priority":{"score":22.1,"factors":[{"name":"EPSS percentile","points":17.05},{"name":"Public exploit code","points":5.0}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2021-10-08"},"first":{"date":"2021-10-08","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/50393"},"provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"django-unicorn","vulnerableRanges":["<0.36.0"],"patched":["0.36.0"],"from":["GHSA-c87f-fq5g-63r2","PYSEC-2021-357"],"provenance":"source"}],"summary":{"text":"The Unicorn framework for Django, through version 0.35.3, contains a cross-site scripting flaw that lives in its handling of the component.name value.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:15:40Z"},"euvd":{"id":"EUVD-2021-0058","exploited":false,"provenance":"source"},"exploits":[{"id":50393,"url":"https://www.exploit-db.com/exploits/50393","title":"django-unicorn 0.35.3 - Stored Cross-Site Scripting (XSS)","date":"2021-10-08","verified":false,"provenance":"source"}],"exploitRefs":["http://packetstormsecurity.com/files/164442/django-unicorn-0.35.3-Cross-Site-Scripting.html"],"lineage":{"familyId":"fam-django-unicorn-cve-2021-42053","children":[{"from":"CVE-2021-42053","to":"CVE-2021-42134","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"NOTE: this issue exists because of an incomplete fix for CVE-2021-42053.","from":"CVE.org","in":"CVE-2021-42134"},{"kind":"version-step","provenance":"source","package":"PyPI:django-unicorn","fromFixed":"0.36.0","toFixed":"0.36.1","daysApart":4},{"kind":"same-code","provenance":"machine","files":["django_unicorn/components/unicorn_view.py"],"commits":["https://github.com/adamghill/django-unicorn/commit/aa5b9835d946bd9893ef02e556859e3ea62cc5e2","https://github.com/adamghill/django-unicorn/commit/3a832a9e3f6455ddd3b87f646247269918ad10c6"],"basis":"shared function","functions":["get_frontend_context_variables"]},{"kind":"similar","provenance":"machine","score":0.87,"basis":"same package + description similarity"}]}],"packageHistory":[{"cve":"CVE-2021-42053","published":"2021-10-07","fixed":"0.36.0","kev":false},{"cve":"CVE-2021-42134","published":"2021-10-11","fixed":"0.36.1","kev":false},{"cve":"CVE-2025-24370","published":"2025-02-03","fixed":"0.62.0","kev":false},{"cve":"CVE-2026-31815","published":"2026-03-10","fixed":"0.67.0","kev":false}],"package":"PyPI:django-unicorn"}}