Cross-Site Scripting Vulnerability in CodeIgniter4 Framework

codeigniter4/framework Updated 02 Oct 2025

Summary

25/07/2025
MODERATE
No i
Moderate
6.1

GHSA-49jm-g4m8-x53p: Withdrawn Advisory: CodeIgniter4 Cross-Site Scripting Vulnerability in debugbar_time Parameter. Affects codeigniter4/framework versions < 4.6.2. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

CodeIgniter4 is a powerful PHP framework designed for building web applications. It offers a rich set of features, including a robust routing system, built-in security measures, and a flexible architecture. However, like any software, it can be susceptible to vulnerabilities, such as cross-site scripting (XSS), which can compromise the security of applications built using this framework.

Vulnerability Detail

A stored cross-site scripting (XSS) vulnerability was identified in CodeIgniter4 version 4.6.0. This vulnerability allows attackers to inject arbitrary web scripts or HTML into the application via the 'debugbar_time' parameter. If exploited, this could lead to unauthorized actions being performed on behalf of users, data theft, or the execution of malicious scripts in the context of the user's session.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As no specific workaround is provided due to the withdrawal of the advisory, it is advisable to ensure that user input is properly sanitized and validated to mitigate potential XSS attacks. Implementing Content Security Policy (CSP) headers can also help reduce the risk of XSS.

Conclusion

In summary, while a cross-site scripting vulnerability was reported in CodeIgniter4, the advisory has since been withdrawn due to its invalidity. Users are encouraged to keep their frameworks updated and to implement security best practices to safeguard their applications.

See every vulnerability recorded for codeigniter4/framework →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 6.1, indicating a moderate level of risk.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which allows you to monitor open-source vulnerabilities without requiring installation.

If immediate updates are not possible, ensure that all user inputs are sanitized and consider implementing CSP headers to mitigate the risk of XSS attacks.

Cross-site scripting (XSS) is a security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users, potentially leading to data theft or unauthorized actions.

The advisory was withdrawn because the original report was found to be invalid, indicating that the vulnerability may not exist as initially reported.

Related vulnerabilities

Recent vulnerabilities recorded for codeigniter4/framework.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback