CVE-2026-142138
MEDIUM 5.3CVSS 4.0CodeIgniter4 through 4.7.6 XSS via Unescaped Form Helper Attribute Values
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.
- Published
- 2 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | disclosure@vulncheck.com (Secondary) | CVSS 4.0 | MEDIUM 5.3 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| CVE List | VulnCheck | CVSS 4.0 | MEDIUM 5.3 | 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 |
| NVD | disclosure@vulncheck.com (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CVE List | VulnCheck | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: poc; Automatable: no; Technical Impact: partial |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | codeigniter4 | CodeIgniter4 | >= 4.0.0, <= 4.7.6 |
References
- https://github.com/codeigniter4/CodeIgniter4 · product
- https://github.com/codeigniter4/CodeIgniter4/blob/v4.7.6/system/Helpers/form_helper.php#L774-L803 · technical-description
- https://github.com/codeigniter4/CodeIgniter4/commit/a98e673e001c5ac9d7ef907eca063a18df07863f · patch
- https://github.com/codeigniter4/CodeIgniter4/issues/10812 · issue-tracking
- https://github.com/codeigniter4/CodeIgniter4/pull/10818 · issue-tracking, patch
- https://www.vulncheck.com/advisories/codeigniter4-through-4.7.6-xss-via-unescaped-form-helper-attribute-values · third-party-advisory
History
- 3 Dec 2026 21:56 UTC · NVD: status Received → Deferred
- 2 Dec 2026 15:18 UTC · CVE List: updated (other details)
- 2 Dec 2026 15:18 UTC · NVD: first stored (published 2 Dec 2026)
- 2 Dec 2026 14:42 UTC · CVE List: first stored (published 2 Dec 2026)