# CVE-2025-24370: Django-Unicorn Class Pollution Vulnerability, Leading to XSS, DoS and Authentication Bypass

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-01)
- Published: 2025-02-03T15:48:53.000Z
- Modified: 2026-10-27T17:00:05.166Z
- Also known as: GHSA-g9wf-5777-gq43, PYSEC-2026-329
- Weaknesses: CWE-915
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- adamghill django-unicorn: < 0.62.0
- django-unicorn (PyPI): before 0.62.0

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/adamghill/django-unicorn/security/advisories/GHSA-g9wf-5777-gq43> (web)
- <https://github.com/adamghill/django-unicorn/commit/17614200f27174f789d4af54cc3a1f2b0df7870c> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-24370> (advisory)
- <https://github.com/adamghill/django-unicorn> (package)
- <https://github.com/adamghill/django-unicorn/releases/tag/0.62.0> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/django-unicorn/PYSEC-2026-329.yaml> (web)
- <https://pypi.org/project/django-unicorn> (package, web)
- <https://github.com/advisories/GHSA-g9wf-5777-gq43> (advisory)

## Sources

- CVE List: [CVE-2025-24370](https://www.cve.org/CVERecord?id=CVE-2025-24370), CVE Terms of Use, modified 2025-02-04
- GitHub Advisory Database: [GHSA-g9wf-5777-gq43](https://github.com/advisories/GHSA-g9wf-5777-gq43), CC-BY-4.0, modified 2026-10-27
- NVD: [CVE-2025-24370](https://nvd.nist.gov/vuln/detail/CVE-2025-24370), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-329](https://osv.dev/vulnerability/PYSEC-2026-329), CC-BY-4.0, modified 2026-07-01

---

Page: https://cve.day/CVE-2025-24370 · Whole record: https://cve.day/CVE-2025-24370.json · Rebuilt by cve.day 2026-11-25T22:58:53.755Z
