Django-Unicorn Class Pollution Vulnerability, Leading to XSS, DoS and Authentication Bypass
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Tampering
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-915.
Summary
Django-Unicorn adds modern reactive component functionality to Django templates. Affected versions of Django-Unicorn are vulnerable to python class pollution vulnerability. The vulnerability arises from the core functionality `set_property_value`, which can be remotely triggered by users by crafting appropriate component requests and feeding in values of second and third parameter to the vulnerable function, leading to arbitrary changes to the python runtime status. With this finding at least five ways of vulnerability exploitation have been observed, stably resulting in Cross-Site Scripting (XSS), Denial of Service (DoS), and Authentication Bypass attacks in almost every Django-Unicorn-based application. This issue has been addressed in version 0.62.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| adamghill | django-unicorn | before 0.62.0 | 0.62.0 | Patch available | CNA |
| — | django-unicorn (PyPI) | before 0.62.0 | 0.62.0 | Patch available | GHSA-g9wf-5777-gq43 |
- django-unicorn Vendoradamghill Affected before 0.62.0 Fixed in 0.62.0 Patch available CNA
- django-unicorn (PyPI) Vendor— Affected before 0.62.0 Fixed in 0.62.0 Patch available GHSA-g9wf-5777-gq43
Remediation
- Fix · CNA django-unicorn (adamghill) Fixed in 0.62.0
- Fix · GHSA-g9wf-5777-gq43 django-unicorn (PyPI) Fixed in 0.62.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2025-24370
- 2026-10-03 Alias added: GHSA-g9wf-5777-gq43
References
Other 6
- https://github.com/adamghill/django-unicorn/security/advisories/GHSA-g9wf-5777-gq43
- https://github.com/adamghill/django-unicorn/commit/17614200f27174f789d4af54cc3a1f2b0df7870c
- https://github.com/adamghill/django-unicorn
- https://github.com/adamghill/django-unicorn/releases/tag/0.62.0
- https://github.com/pypa/advisory-database/tree/main/vulns/django-unicorn/PYSEC-2026-329.yaml
- https://pypi.org/project/django-unicorn
Sources
- CVE-2025-24370 · CVE Program
- CVE-2025-24370 · NVD
- FIRST EPSS
- GHSA-g9wf-5777-gq43 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences