CodeIgniter4 before 4.7.5 XSS via View Parser Auto-Escaping Bypass
- State
- Published
- Severity
- 5.3 Medium
- Published
- Nov 17, 2026
- Updated
- Nov 19, 2026
- Reserved
- Nov 17, 2026
Description
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.
| Product | Versions |
|---|---|
| CodeIgniter4 CodeIgniter Foundation | before 4.7.5 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 5.3 Medium | VulnCheck | |
| 3.1 | 6.1 Medium | VulnCheck |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- GitHub Security Advisory (GHSA-vgrf-mv2j-gp8w)Vendor Advisory
- https://github.com/codeigniter4/CodeIgniter4/commit/641ee5b6d7b1fb11453b3a3c7d7b83fa198de281Patch
- https://github.com/codeigniter4/CodeIgniter4/blob/v4.7.4/system/View/Parser.php#L280-L292Technical Details
- VulnCheck Advisory: CodeIgniter4 before 4.7.5 XSS via View Parser Auto-Escaping BypassThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.