CVE-2026-142138
Description
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| codeigniter4 | codeigniter4 | {"startIncluding":"4.0.0","endIncluding":"4.7.6"} | |
References
- https://github.com/codeigniter4/CodeIgniter4
- https://github.com/codeigniter4/CodeIgniter4/blob/v4.7.6/system/Helpers/form_helper.php#L774-L803
- https://github.com/codeigniter4/CodeIgniter4/commit/a98e673e001c5ac9d7ef907eca063a18df07863f
- https://github.com/codeigniter4/CodeIgniter4/issues/10812
- https://github.com/codeigniter4/CodeIgniter4/pull/10818
- https://www.vulncheck.com/advisories/codeigniter4-through-4.7.6-xss-via-unescaped-form-helper-attribute-values
CWEs
CWE-79
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.