# CVE-2025-45406: A stored cross-site scripting (XSS) vulnerability in CodeIgniter4 v4.6.0 allows attackers to execute arbitrary web scripts or HTML via a cr…

- Severity: Medium 6.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-07-25T00:00:00.000Z
- Modified: 2026-09-10T03:50:57.807Z
- Also known as: GHSA-49jm-g4m8-x53p
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- codeigniter4/framework (Packagist): up to 4.6.2

## Every score

- CISA-ADP: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://www.exploit-db.com/exploits/50556> (exploit, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-15943> (advisory)
- <https://github.com/advisories/GHSA-7h5r-54mm-w4pq>
- <https://medium.com/@talktoshweta0/when-debugging-bites-back-exposing-a-persistent-xss-in-codeigniter4-c9caf804a190> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-45406> (advisory)
- <https://github.com/codeigniter4/CodeIgniter4> (package)
- <https://github.com/codeigniter4/CodeIgniter4/blob/v4.6.2/system/Debug/Toolbar.php#L496> (web)
- <https://github.com/codeigniter4/framework/blob/v4.6.2/system/Debug/Toolbar.php#L496> (web)

## Sources

- CVE List: [CVE-2025-45406](https://www.cve.org/CVERecord?id=CVE-2025-45406), CVE Terms of Use, modified 2025-07-29
- GitHub Advisory Database: [GHSA-49jm-g4m8-x53p](https://github.com/advisories/GHSA-49jm-g4m8-x53p), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2025-45406](https://nvd.nist.gov/vuln/detail/CVE-2025-45406), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-45406 · Whole record: https://cve.day/CVE-2025-45406.json · Rebuilt by cve.day 2026-11-25T22:59:01.739Z
