CVE-2026-145677
Received Received - Intake

Cross-Site Scripting in CodeIgniter4 Framework

Vulnerability report for CVE-2026-145677, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-06

Last updated on: 2026-12-06

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-06
Last Modified
2026-12-06
Generated
2026-12-06
AI Q&A
2026-12-06
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
codeigniter4 CodeIgniter4 From 4.0.0 (inc) to 4.7.6 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This XSS vulnerability in CodeIgniter4 allows attackers to inject malicious JavaScript via unescaped URLs or email addresses in anchor links, potentially executing scripts in users' browsers when they interact with crafted links.

Detection Guidance

Check installed CodeIgniter4 version with `composer show codeigniter4/codeigniter4` or inspect the `system/Helpers/url_helper.php` file for the presence of the vulnerable functions (`anchor()`, `anchor_popup()`, `mailto()`).

Bash
composer show codeigniter4/codeigniter4 | grep versions
Impact Analysis

Successful exploitation requires user interaction with a malicious link, leading to arbitrary script execution in the victim's browser context when rendered by an affected application.

Compliance Impact

If user-generated content is processed by affected functions, this vulnerability could undermine web application security controls, potentially impacting compliance with standards requiring XSS protections (e.g., OWASP ASVS).

Mitigation Strategies

Update CodeIgniter4 to a version beyond 4.7.6 where the fix has been applied, as documented in pull request #10842.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-145677. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...