GHSA-ggmm-h89f-fq3vMediumCVSS 6.1
CodeIgniter4 through 4.7.6 contains a cross-site scripting vulnerability in parse_form_attributes...
🔗 CVE IDs covered (1)
📋 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.
🔗 References (8)
- https://nvd.nist.gov/vuln/detail/CVE-2026-142138
- https://github.com/codeigniter4/CodeIgniter4/issues/10812
- https://github.com/codeigniter4/CodeIgniter4/pull/10818
- https://github.com/codeigniter4/CodeIgniter4/commit/a98e673e001c5ac9d7ef907eca063a18df07863f
- https://github.com/codeigniter4/CodeIgniter4
- https://github.com/codeigniter4/CodeIgniter4/blob/v4.7.6/system/Helpers/form_helper.php#L774-L803
- https://www.vulncheck.com/advisories/codeigniter4-through-4.7.6-xss-via-unescaped-form-helper-attribute-values
- https://github.com/advisories/GHSA-ggmm-h89f-fq3v