Skip to content
Medium 6.1

CodeIgniter4 through 4.7.6 XSS via Unescaped Form Helper Attribute Values

CVE-2026-142138 First seen on SecPulse

Affected packages

PackageAffected → Fixed
codeigniter4CodeIgniter4
4.0.0 – 4.7.6→ Not listed

This record does not list fixed versions. Check the article or the vendor advisory in the references for whether and where it is fixed.

Original description The description as published by the source.

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.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details