{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2021-42053","id":"CVE-2021-42053","title":"Cross-site scripting in Unicorn framework","description":"The Unicorn framework through 0.35.3 for Django allows XSS via component.name.","descriptionLong":"The Unicorn framework through 0.35.3 for Django allows XSS via component.name.","published":"2021-10-07T05:21:05.000Z","updated":"2026-10-20T10:55:00.147468163Z","reserved":"2021-10-07T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"4.0","score":null,"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","source":"GitHub"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","rating":"low","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"django-unicorn","purl":"pkg:pypi/django-unicorn","ranges":["<0.36.0"],"fixed":["0.36.0"],"advisory":"GHSA-c87f-fq5g-63r2"}],"cwes":["CWE-79"],"aliases":["GHSA-c87f-fq5g-63r2","PYSEC-2021-357"],"references":[{"url":"https://github.com/adamghill/django-unicorn/pull/288/files","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"http://packetstormsecurity.com/files/164442/django-unicorn-0.35.3-Cross-Site-Scripting.html","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://github.com/adamghill/django-unicorn/compare/0.35.3...0.36.0","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42053","tags":["advisory"]},{"url":"https://github.com/adamghill/django-unicorn/pull/288","tags":["web"]},{"url":"https://github.com/adamghill/django-unicorn/commit/aa5b9835d946bd9893ef02e556859e3ea62cc5e2","tags":["web"]},{"url":"https://github.com/adamghill/django-unicorn","tags":["package"]},{"url":"https://github.com/advisories/GHSA-c87f-fq5g-63r2","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/django-unicorn/PYSEC-2021-357.yaml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02524,"epssPercentile":0.85254,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2021-42053","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-42053","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2021-42053","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-c87f-fq5g-63r2","ok":true,"note":"GHSA-c87f-fq5g-63r2"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2021-42053","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":["django"],"critical":[],"attention":null}