Packagist
CVE-2026-142138
CodeIgniter4 through 4.7.6 XSS via Unescaped Form Helper Attribute Values
- Severity
- Medium 5.3
- Published
- 2 Dec 2026
- Last changed
- 2 Dec 2026
- Added to UpHeron
- 2 Dec 2026
- Weakness
- Cross-site scripting (CWE-79)
- Attack
- Over the network · No login needed · Needs someone to view a page or file
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N- Sources
- CVE Program
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.
Affected software
| Software | Affected versions |
|---|---|
codeigniter4/codeigniter4Packagist · osv:Packagist:codeigniter4/codeigniter4 |
|
About codeigniter4/codeigniter4
This is the only vulnerability in codeigniter4/codeigniter4 in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-142138