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

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Sun, 06 Dec 2026 15:15:00 +0000

Type Values Removed Values Added
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.
Title CodeIgniter4 4.0.0 through 4.7.6 XSS via URL Helper Link Functions
First Time appeared Codeigniter
Codeigniter codeigniter
Weaknesses CWE-79
CPEs cpe:2.3:a:codeigniter:codeigniter:*:*:*:*:*:*:*:*
Vendors & Products Codeigniter
Codeigniter codeigniter
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-12-06T15:03:58.607Z

Reserved: 2026-12-05T15:35:57.878Z

Link: CVE-2026-145677

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-06T15:16:44.067

Modified: 2026-12-06T15:16:44.067

Link: CVE-2026-145677

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses