CVE-2025-45406: codeigniter4 · A Stored Cross-site Scripting (XSS)
Affects codeigniter4Source CVE Database V5
Not known to be exploited · CVSS 6.1 Medium.
Data as of 26 Oct 2026, 13:47 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubcodeigniter4/codeigniter4pkg:github/codeigniter4/codeigniter4Other threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Immediate verification of whether the debugbar feature is enabled and accessible to untrusted users in the deployed CodeIgniter4 applications. If not required, disable the debugbar entirely to eliminate the attack surface.
- Conduct a thorough code review and testing to confirm whether the debugbar_time parameter can be influenced by external inputs and whether the escaping mechanisms are effective in the specific deployment context.
- Apply strict input validation and output encoding on all parameters related to debugbar and any user-controllable inputs, ensuring that any HTML or script content is properly sanitized.
- Monitor web application logs and user reports for any suspicious activity or attempts to inject scripts via the debugbar_time parameter.
- Stay updated with official CodeIgniter security advisories for any patches or updates addressing this vulnerability and apply them promptly once available.
- Implement Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in the browser, mitigating the impact of potential XSS attacks.
- Educate users about phishing and social engineering risks, as exploitation requires user interaction.
- Consider deploying Web Application Firewalls (WAFs) with rules targeting common XSS payloads to provide an additional layer of defense.
Description
A stored cross-site scripting (XSS) vulnerability in CodeIgniter4 v4.6.0 allows attackers to execute arbitrary web scripts or HTML via a crafted payload injected into the debugbar_time parameter. NOTE: this is disputed by the Supplier because attackers cannot influence the value of debugbar_time, and because debugbar-related data is automatically escaped by the CodeIgniter Parser class.