CVE-2025-24370
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
django-unicornPyPI | < 0.62.0 | 0.62.0 |
Patches
3d62c2d0880ca17614200f27117614200f271Merge commit from fork
1 file changed · +3 −0
django_unicorn/views/action_parsers/utils.py+3 −0 modified@@ -50,6 +50,9 @@ class TestView(UnicornView): The following code updates UnicornView.author.name based the payload's `author.name`. """ property_name_parts = property_name.split(".") + for part in property_name_parts: + if part.startswith("__") and part.endswith("__"): + raise AssertionError("Invalid property name") component_or_field = component data_or_dict = data # Could be an internal portion of data that gets set
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
5- github.com/advisories/GHSA-g9wf-5777-gq43ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-24370ghsaADVISORY
- github.com/adamghill/django-unicorn/commit/17614200f27174f789d4af54cc3a1f2b0df7870cnvdWEB
- github.com/adamghill/django-unicorn/releases/tag/0.62.0ghsaWEB
- github.com/adamghill/django-unicorn/security/advisories/GHSA-g9wf-5777-gq43nvdWEB
News mentions
0No linked articles in our index yet.