CVE-2025-24370 Details
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.
A class pollution vulnerability has been identified in Django-Unicorn, a library that adds reactive component functionality to Django templates. This vulnerability affects versions prior to 0.61.0 and arises from the 'set_property_value' function, which can be remotely triggered by users. By crafting specific component requests and manipulating the second and third parameters of this function, users can make arbitrary changes to the Python runtime. Exploitation of this vulnerability has consistently resulted in Cross-Site Scripting (XSS), Denial of Service (DoS), and Authentication Bypass attacks in nearly all Django-Unicorn-based applications.
Users are advised to upgrade to Django-Unicorn version 0.62.0 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Feb 3, 2025CISA-ADP
Assessed Feb 4, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/adamghill/django-unicorn/commit/17614200f27174f789d4af54cc3a1f2b0df7870c | [email protected] | Source CodeVendor |
| https://github.com/adamghill/django-unicorn/security/advisories/GHSA-g9wf-5777-gq43 | [email protected] | AdvisoryBundleExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-915 | Improperly Controlled Modification of Dynamically-Determined Object Attributes | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| adamghill django-unicorn | < 0.61.0 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 3, 2025 | New CVE Received | [email protected] |
Volerion