CVE-2026-145677
Description
CodeIgniter4 4.0.0 through 4.7.6 contains a cross-site scripting vulnerability in anchor(), anchor_popup() and mailto() in system/Helpers/url_helper.php, which do not escape URL or e-mail values. Attackers can supply URLs or e-mail addresses containing quotes to break out of href attributes or the onclick window.open() string, executing script in users' browsers.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
References
- https://github.com/codeigniter4/CodeIgniter4/blob/v4.7.6/system/Helpers/url_helper.php#L154-L245
- https://github.com/codeigniter4/CodeIgniter4/commit/7189b6cf17e533875a5d5154dc6f4e0fb4301e79
- https://github.com/codeigniter4/CodeIgniter4/issues/10814
- https://github.com/codeigniter4/CodeIgniter4/pull/10842
- https://www.vulncheck.com/advisories/codeigniter4-4.0.0-through-4.7.6-xss-via-url-helper-link-functions
CWEs
CWE-79
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.