Servers and applications
CVE-2020-15118
HTML injection through form field help text
- Severity
- Medium 5.4
- Published
- 20 Jul 2020
- Last changed
- 17 Jun 2026
- Added to UpHeron
- 1 Nov 2026
- Fixed in
- 2.7.4, 2.9.3
- Also known as
- GHSA-2473-9hgq-j7xw
- Sources
- NVD, Project advisories (GitHub)
Description
In Wagtail before versions 2.7.4 and 2.9.3, when a form page type is made available to Wagtail editors through the `wagtail.contrib.forms` app, and the page template is built using Django's standard form rendering helpers such as form.as_p, any HTML tags used within a form field's help text will be rendered unescaped in the page. Allowing HTML within help text is an intentional design decision…
Affected software
| Software | Affected versions |
|---|---|
WagtailServers and applications · cpe:a:torchbox:wagtail |
|
WagtailServers and applications · github:wagtail/wagtail |
|
References
- NVD https://nvd.nist.gov/vuln/detail/CVE-2020-15118
- CVE.org https://www.cve.org/CVERecord?id=CVE-2020-15118
- GitHub Advisory Database https://github.com/advisories/GHSA-2473-9hgq-j7xw
- github.com https://github.com/wagtail/wagtail/security/advisories/GHSA-2473-9hgq-j7xw