Every CVE Search/ Get API key

CVE-2021-42053

Cross-site scripting in Unicorn framework

5.4 MediumPublic exploitFix available

The Unicorn framework through 0.35.3 for Django allows XSS via component.name.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
None

Exploit likelihood

2.52%Up 2.1 points since Oct 7, 2021
90%50%10%1%

What each source reports

NVD Score used 5.4

The Unicorn framework through 0.35.3 for Django allows XSS via component.name.

Record
CVE-2021-42053
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CVSS 2.0
3.5 LowAV:N/AC:M/Au:S/C:N/I:P/A:N
Weakness
CWE-79
Updated
2026-11-02
CVE List No score

The Unicorn framework through 0.35.3 for Django allows XSS via component.name.

Record
CVE-2021-42053
Updated
2026-11-02
EUVDEUVD-2021-0058 No score

The Unicorn framework through 0.35.3 for Django allows XSS via component.name.

Record
EUVD-2021-0058
Updated
2026-11-03
GitHub AdvisoriesGHSA-c87f-fq5g-63r2 5.3

Cross-site scripting in Unicorn framework

The Unicorn framework through 0.35.3 for Django allows XSS via component.name.

Record
GHSA-c87f-fq5g-63r2
CVSS 4.0
5.3 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSV 5.4

The Unicorn framework through 0.35.3 for Django allows XSS via component.name.

Record
CVE-2021-42053
CVSS 3.1
5.4 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Updated
2026-11-02
OSVGHSA-c87f-fq5g-63r2 5.3

Cross-site scripting in Unicorn framework

The Unicorn framework through 0.35.3 for Django allows XSS via component.name.

Record
GHSA-c87f-fq5g-63r2
CVSS 4.0
5.3 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSVPYSEC-2021-357 No score

The Unicorn framework through 0.35.3 for Django allows XSS via component.name.

Record
PYSEC-2021-357
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
django-unicorn
PyPI
before 0.36.0
0.36.0
django-unicorn
PyPI
before 0.36.0, plus listed versions
0.1.00.1.10.10.00.10.10.11.0
Show 45 moreShow less
0.11.10.11.20.12.00.13.00.14.00.14.10.15.00.15.10.16.00.16.10.17.00.17.10.17.20.18.00.18.10.19.00.2.00.2.10.2.20.2.30.20.00.21.00.21.20.22.00.23.00.24.00.25.00.26.00.27.00.27.10.27.20.28.00.29.00.3.00.30.00.31.00.32.00.33.00.34.00.35.00.35.20.35.30.4.00.5.00.6.0
0.36.0

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBdjango-unicorn 0.35.3 - Stored Cross-Site Scripting (XSS)2021-10-08

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-42053 is a medium vulnerability (CVSS 5.4) in Django-unicorn Unicorn, published October 7, 2021. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 2.52%, the 84th percentile. Fixed in django-unicorn 0.36.0.

References

This page doesn't list everything

Left out here: 13 versions. The JSON record has them.

MoveEnter Open