Skip to main content
CVE-2026-142138VulnerabilityPublished

CodeIgniter4 through 4.7.6 contains a cross-site scripting vulnerability in parse_form_attributes() and related form

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-142138· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium.

Data as of 2 Dec 2026, 16:18 UTC

CVSS 4.0 base score
5.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (VulnCheck)CVSS 4.05.3
CNA (VulnCheck)CVSS 3.16.1
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.

What to do

Affected software

ProductAffectedFixed in
codeigniter4CodeIgniter4Affected
  • >=4.0.0 <=4.7.6
Fixed in–
PackagistCodeIgniter4pkg:composer/CodeIgniter4Other threatsAffected
  • >=4.0.0 <=4.7.6
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Until a fix is available, avoid using affected form helper functions with untrusted input or implement additional input sanitization and output encoding to prevent injection of malicious attributes.

Description

CodeIgniter4 versions through 4.7.6 have a cross-site scripting (XSS) vulnerability in the parse_form_attributes() function and related form helpers. These helpers escape only the value key, allowing attackers who can influence inputs to inject double quotes and event handlers, leading to script execution in users' browsers. This vulnerability affects functions such as form_input(), form_label(), form_dropdown(), and form_datalist().

References

Community reviews

Loading reviews…