CVE-2026-142138

CodeIgniter4 through 4.7.6 XSS via Unescaped Form Helper Attribute Values

Published Dec 2, 2026 CVSS 4.0 · 5.3 Medium EPSS n/a KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title CodeIgniter4 through 4.7.6 XSS via Unescaped Form Helper Attribute Values
First Time appeared Codeigniter
Codeigniter codeigniter
Weaknesses CWE-79
CPEs cpe:2.3:a:codeigniter:codeigniter:*:*:*:*:*:*:*:*
Vendors & Products Codeigniter
Codeigniter codeigniter
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.3, '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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Dec 2, 2026, 2:46 PM
Reserved
Dec 2, 2026, 2:15 PM
Status
Received
Published
Dec 2, 2026, 3:17 PM
Modified
Dec 2, 2026, 3:17 PM