CVE-2026-130845
CodeIgniter4 before 4.7.5 XSS via View Parser Auto-Escaping Bypass
Medium · 5.3Fix available
- CVSS
- 5.3
- EPSS
- 0.34% (p29)
- Published
- 2026-11-17
- Age
- 19d old
- Modified
- 2026-11-24
- Product
- CodeIgniter Foundation CodeIgniter4
- Aliases
- GHSA-vgrf-mv2j-gp8w
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
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.
Fixed in
4.7.5
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | CodeIgniter4 | >=0, <4.7.5 | 4.7.5 |
Sources
- NVD · first seen 19d ago · NVD terms of use
- OSV · first seen 19d ago · CC-BY 4.0
- CVE List · first seen 19d ago · CVE Terms of Use
References
- https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-vgrf-mv2j-gp8w vendor-advisory
- https://github.com/codeigniter4/CodeIgniter4/commit/641ee5b6d7b1fb11453b3a3c7d7b83fa198de281 patch
- https://github.com/codeigniter4/CodeIgniter4/blob/v4.7.4/system/View/Parser.php#L280-L292 technical-description
- https://www.vulncheck.com/advisories/codeigniter4-before-4.7.5-xss-via-view-parser-auto-escaping-bypass third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/130xxx/CVE-2026-130845.json advisory
- https://github.com/codeigniter4/CodeIgniter4 package
- https://nvd.nist.gov/vuln/detail/CVE-2026-130845 advisory