CVE-2026-142138
CodeIgniter4 through 4.7.6 contains a cross-site scripting …
CodeIgniter4 through 4.7.6 contains a cross-site scripting vulnerability in parse_form_attributes() and related form helpers that escape only the value key. Attackers who influence values passed to form_input(), form_label(), form_dropdown() or form_datalist() can inject a double quote and event handlers to execute script in victims' browsers.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/codeigniter4/CodeIgniter4
- github.com/codeigniter4/CodeIgniter4/blob/v4.7.6/system/Helpers/form_helper.php#L774-L803
- github.com/codeigniter4/CodeIgniter4/commit/a98e673e001c5ac9d7ef907eca063a18df07863f
- github.com/codeigniter4/CodeIgniter4/issues/10812
- github.com/codeigniter4/CodeIgniter4/pull/10818
- www.vulncheck.com/advisories/codeigniter4-through-4.7.6-xss-via-unescaped-form-helper-attr
- nvd.nist.gov/vuln/detail/CVE-2026-142138
- cve.org/CVERecord?id=CVE-2026-142138
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.