CodeIgniter4 through 4.7.6 contains a cross-site scripting vulnerability in parseformattributes() and related form helpers that escape only…
CVE-2026-142138
CodeIgniter4 through 4.7.6 contains a cross-site scripting vulnerability in parseformattributes() and related form helpers that escape only the value key. Attackers who influence values passed to forminput(), formlabel(), formdropdown() or formdatalist() can inject a double quote and event handlers to execute script in victims' browsers.
Assessment
- CVSS
- 5.3 (v4.0)
- Severity
- Medium
- EPSS
- 0% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 2 December 2026
- Last updated
- 2 December 2026
- Affected
- codeigniter4 · CodeIgniter4
- Weakness
- CWE-79
- Assigner
- disclosure@vulncheck.com
CVSS vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
At the source
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
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-142138