CVE Catalog

CVE-2026-145677

MediumCVSS 6.1
Published: Translated: NVD NIST

Summary

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.

Risk Assessment

Injected script can execute in the application user's browser, enabling session theft, data exfiltration, or actions on behalf of the victim. The risk affects applications generating links from untrusted input.

Recommendation

Update CodeIgniter4 to a version newer than 4.7.6 if available, or manually escape values passed to anchor(), anchor_popup() and mailto(). Apply a Content Security Policy as an additional safeguard.

Other vulnerabilities in CodeIgniter4

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS