Potential log injection via unescaped geometry form values
- CVE-2026-111211
- GHSA-cc89-hg86-h2hx
- EUVD-2026-116019
Description
An issue was discovered in Django 6.1 before 6.1.3, 6.0 before 6.0.10, and 5.2 before 5.2.19. `django.contrib.gis.forms.widgets.BaseGeometryWidget.deserialize()`, used by `django.contrib.gis.forms.GeometryField`, does not escape invalid submitted values before logging them, which allows remote attackers to inject or forge log entries via a crafted geometry value. Earlier, unsupported Django series (such as 5.1.x, 5.0.x, and 4.2.x) were not evaluated and may also be affected. Django would like to thank Aaron chen for reporting this issue.
Text from the CVE.org record.
Recommendation
djangoproject Django
- If you run 6.1.xupdate to 6.1.3 or laterPatch update: breaking changes are unlikely
- If you run 6.0.xupdate to 6.0.10 or laterPatch update: breaking changes are unlikely
- If you run 5.2.xupdate to 5.2.19 or laterPatch update: breaking changes are unlikely
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
djangoproject Django
Affected versions Fixed in from 6.1 to before 6.1.3 6.1.3 from 6.0 to before 6.0.10 6.0.10 from 5.2 to before 5.2.19 5.2.19
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.