CVE-2025-45406 Details
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.
A stored cross-site scripting vulnerability has been identified in CodeIgniter4 version 4.6.0. This vulnerability allows attackers to execute arbitrary web scripts or HTML by injecting a crafted payload into the debugbar_time parameter. The injected script is stored on the server and executed when the debug toolbar is viewed, potentially leading to session hijacking or account takeover, especially if an admin or privileged user is targeted.
Users are advised to sanitize input, escape output, and restrict access to debug tools in production environments.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 25, 2025CISA-ADP
Assessed Jul 25, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/advisories/GHSA-7h5r-54mm-w4pq | [email protected] | AdvisoryBroken Link |
| https://medium.com/@talktoshweta0/when-debugging-bites-back-exposing-a-persistent-xss-in-codeigniter4-c9caf804a190 | [email protected] | ExploitRemedyTechnical Analysis |
| https://nvd.nist.gov/vuln/detail/CVE-2020-15943 | [email protected] | AdvisoryBundleExploit |
| https://www.exploit-db.com/exploits/50556 | [email protected] | Exploit |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| CodeIgniter4 | 4.6.0 (semver) |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 29, 2025 | CVE Modified | [email protected] |
| Jul 25, 2025 | CVE Modified | CISA-ADP |
| Jul 25, 2025 | New CVE Received | [email protected] |
Volerion