CodeIgniter4 4.0.0 through 4.7.6 contains a cross-site scripting vulnerability in anchor(), anchor_popup() and
Source GCVE Database
Not known to be exploited · CVSS 5.3 Medium.
Data as of 6 Dec 2026, 16:58 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 5.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 6.1 |
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 6 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: 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 6 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| codeigniter4CodeIgniter4 | Affected
| Fixed in– |
PackagistCodeIgniter4pkg:composer/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
Until a fix is available, users should avoid using the affected functions with untrusted input or implement manual escaping of URLs and email addresses to prevent injection of malicious characters.
Description
CodeIgniter4 versions 4.0.0 through 4.7.6 have a cross-site scripting (XSS) vulnerability in the anchor(), anchor_popup(), and mailto() functions within system/Helpers/url_helper.php. These functions do not properly escape URL or email values, allowing attackers to inject malicious scripts by supplying crafted URLs or email addresses containing quotes that break out of HTML attributes or JavaScript strings.
References
- nvd.nist.gov/vuln/detail/CVE-2026-145677 (opens in a new tab)
- github.com/codeigniter4/CodeIgniter4/issues/10814 (opens in a new tab)
- github.com/codeigniter4/CodeIgniter4/pull/10842 (opens in a new tab)
- github.com/codeigniter4/CodeIgniter4/commit/7189b6cf17e533875a5d5154dc6f4e0fb4301e79 (opens in a new tab)
- github.com/codeigniter4/CodeIgniter4/blob/v4.7.6/system/Helpers/url_helper.php (opens in a new tab)
- vulncheck.com/advisories/codeigniter4-4.0.0-through-4.7.6-xss-via-url-helper-link-functions (opens in a new tab)