Cross-site scripting in CodeIgniter4 - #VU155852

 

Cross-site scripting in CodeIgniter4 - #VU155852

Published: October 15, 2026


Vulnerability identifier: #VU155852
CSH Severity: Medium
CVSS v4: 5.1 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N]
CVE-ID: N/A
CWE-ID: CWE-79
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary JavaScript in a visitor's browser under the application's origin.

The vulnerability exists due to improper neutralization of input during web page generation in the View Parser when processing sequential substitutions containing attacker-controlled parser syntax. A remote attacker can supply an escaping-bypass placeholder that references another attacker-controlled value substituted later to execute arbitrary JavaScript in a visitor's browser under the application's origin.

Exploitation depends on the template structure and substitution order but does not require control of the template itself. A visitor must view the affected rendered content. Default HTML escaping and explicitly configured HTML escaping do not prevent exploitation.


Affected software

CodeIgniter4

Remediation

Install security update from vendor's website.

CodeIgniter4 - update to 4.7.5

External References

Related Security Bulletins