CVE-2026-130845
CodeIgniter4 before 4.7.5 contains a cross-site scripting vulnerability in the View Parser (system/View/Parser.php) that allows attackers to bypass auto-escapi…
Impact
CodeIgniter4 before 4.7.5 contains a cross-site scripting vulnerability in the View Parser (system/View/Parser.php) that allows attackers to bypass auto-escaping through re-scanned substitutions. Attackers controlling one rendered value can inject Parser syntax like {other|raw} or {!other!} to emit unescaped attacker-controlled values, executing scripts in viewers' browsers.
An attacker can exploit this over the network, without logging in, but a user has to be involved, for example by viewing content. If it succeeds: low risk of data being read, low risk of data or systems being changed.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| CodeIgniter Foundation | CodeIgniter4 | before 4.7.5 |
| Codeigniter4 | CodeIgniter4 | before 4.7.5 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-vgrf-mv2j-gp8w
- https://github.com/codeigniter4/CodeIgniter4/commit/641ee5b6d7b1fb11453b3a3c7d7b83fa198de281
- https://github.com/codeigniter4/CodeIgniter4/blob/v4.7.4/system/View/Parser.php#L280-L292
- https://www.vulncheck.com/advisories/codeigniter4-before-4.7.5-xss-via-view-parser-auto-escaping-bypass
- https://github.com/advisories/GHSA-xcpm-5rj4-v7wf
- https://nvd.nist.gov/vuln/detail/CVE-2026-130845