Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit input containing {other|raw} Parser syntax
-
DeliveryData rendered through View Parser with a cross-reference
-
ExploitLater substitution pass emits referenced value unescaped
-
ExecutionVictim views affected (possibly stored) page
-
ImpactJavaScript executes in application origin
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitable only when the application renders attacker-controlled data through CodeIgniter4's View Parser (system/View/Parser.php) and the rendering allows one attacker-controlled value to introduce a Parser reference (e.g. {other|raw} or {!other!}) to a second attacker-controlled value - including within variable pairs and nested loops. The attacker does NOT need to control the template itself. Key limiting factors: (1) applications that do not pass untrusted data through the View Parser are not affected at all; (2) success depends on the specific template structure and substitution order; (3) a victim must view the rendered output (UI:P). Critically, there is no configuration-only workaround - explicitly enabling HTML escaping, calling setData(..., 'html'), or disabling individual filters does NOT prevent exploitation; only upgrading to v4.7.5 (or backporting the fix, or converting affected templates to plain PHP views with explicit escaping) resolves it. |
| Impact | This is a moderate-severity, conditionally-exploitable XSS rather than a drop-everything emergency. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:P, VC:L/VI:L) scores 5.3 and is consistent with reflected/stored cross-site scripting: network-reachable, no privileges, but requiring a victim to view the rendered page (UI:P) and yielding only limited confidentiality/integrity impact. No EPSS probability was supplied in the input, there is no CISA KEV listing, and no public exploit was identified at time of analysis - so exploitation-likelihood signals are either absent or low. The vuln.today priority is 'this_month' (not act_now/emergency), which aligns with a real-but-not-urgent issue. The most important caveat is that real-world risk is gated by application design, not just the CVSS metrics: per the GHSA advisory, only applications that render attacker-controlled data through CodeIgniter's optional View Parser, in a way that lets one attacker-controlled value introduce a reference to another, are affected. Note a nuance the CVSS does not capture - the advisory states exploitation 'depends on the template structure and substitution order,' conditions the attacker does not fully control, so AC:L may understate real-world difficulty for a given deployment. Reported by VulnCheck; a patch is confirmed available. |
| Exploit ScenarioDerived | In an application that renders untrusted input through the View Parser, an attacker submits a value such as '{evil|raw}' or '{!evil!}' into one field while placing HTML/JavaScript into the referenced value. During a subsequent substitution pass the injected placeholder is interpreted as Parser syntax and the referenced value is emitted without escaping, even under default HTML escaping. When a victim views the affected (potentially stored) page, the script executes in their browser under the application's origin. No public exploit was identified at time of analysis, though the advisory and patch tests document the exact payload shapes. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Cross-site scripting in CodeIgniter4 before 4.7.5 allows an attacker who controls a single value rendered through the View Parser (system/View/Parser.php) to inject Parser syntax - such as {other|raw} or {!other!} - that is re-interpreted on a later substitution pass and emits a second attacker-controlled value without escaping, executing script in a visitor's browser under the application's origin. Only applications that pass untrusted data through the View Parser are exposed, and success further depends on the template structure and substitution order; a victim must view the rendered output (UI:P per the CVSS 4.0 vector, UI:R in the 3.1 assessment). No public exploit code was identified at time of analysis and the issue is not in CISA KEV; the vendor has released 4.7.5 as the fix.
RemediationAI
Vendor-released patch: upgrade to CodeIgniter4 4.7.5 or later (composer/codeigniter4/framework 4.7.5), per GHSA-vgrf-mv2j-gp8w (https://github.com/codeigniter4/CodeIgniter4/security/advisories/GHSA-vgrf-mv2j-gp8w) and the upstream fix commit https://github.com/codeigniter4/CodeIgniter4/commit/641ee5b6d7b1fb11453b3a3c7d7b83fa198de281. The vendor states there is no configuration-only workaround: explicitly enabling HTML escaping, calling setData(..., 'html'), or disabling individual filters does not prevent exploitation. Applications that cannot upgrade immediately should stop passing untrusted data through the View Parser - the trade-off is a rework of the affected rendering paths - or convert affected templates to ordinary PHP views with explicit, context-appropriate output escaping, which changes template authoring and loses Parser features such as filter syntax. As a third option the vendor points to backporting the security fix into the installed framework version, which carries the usual maintenance burden of carrying a local patch until a supported release is adopted.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The CodeIgniter4 View Parser is a lightweight templating layer that performs successive string substitution passes over a template using placeholders such as {variable}, {variable|raw} and {!variable!}, plus variable pairs and nested loops. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation): values inserted by one substitution pass are fed back into later passes as template text, so an attacker-controlled value containing Parser syntax can be interpreted as a directive rather than data. Because the injected directive can target a different variable, auto-escaping applied to the first value does not prevent the second value from being emitted unescaped - the advisory notes this affects the default HTML escaping and explicit setData(..., 'html') alike, and that the attacker does not need to control the template itself. The upstream fix (commit 641ee5b6d7b1fb11453b3a3c7d7b83fa198de281) makes substitutions opaque: replaceSingle() stores escape-protected replacements in a map keyed by tokens of the form \x1A<random 16-byte hex prefix>:<index>\x1A, the prefix is regenerated per parse() call and restored in a finally block, and the tokens are resolved with a final strtr() after noparse handling. Built-in Plugins output is tokenized as well, while custom plugins that intentionally return template code for further processing are left alone. The commit also broadens pair-key registration inside parsePair() and adjusts docblocks in app/Config/View.php and system/Config/View.php; the accompanying ParserTest additions cover top-level no-escape delimiters and filter cases.
Know when Codeigniter4 gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
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
Network-reachable unauthenticated XSS requiring a victim to view the page (UI:R), with scope change into the browser and limited confidentiality/integrity impact; AC:L mirrors the vendor assessment though template-specific conditions apply.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Codeigniter4
View allUnauthenticated file upload validation bypass in the CodeIgniter4 PHP framework (versions prior to 4.7.4) lets a remote
SQL injection in CodeIgniter4's Query Builder deleteBatch() method (versions 4.3.0 through 4.7.3) allows user-controlled
Path traversal file write in the CodeIgniter4 PHP framework prior to 4.7.4 lets remote unauthenticated attackers place u
HTTP security header spoofing in CodeIgniter4 prior to 4.7.4 allows remote unauthenticated attackers to trick the framew
EUVD-2026-127257
GHSA-xcpm-5rj4-v7wf
NVD
CVE.org
EPSS
Exploit-DB