Medium

Inadequate XSS Prevention in CodeIgniter/Framework Security Library

  • Disclosed: 15.05.2024
  • Updated: 11.10.2026 10:22

The xss_clean() method in the Security Library of CodeIgniter/Framework, specifically in versions before 3.0.3, exhibited a vulnerability that allowed certain Cross-Site Scripting (XSS) vectors to bypass its intended protection mechanisms.

The xss_clean() method is designed to sanitize input data by removing potentially malicious content, thus preventing XSS attacks. However, in versions prior to 3.0.3, it was discovered that the method did not adequately mitigate specific XSS vectors, leaving a potential security gap.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Composer package codeigniter/framework < 3.0.3 3.0.3

References

CVSS score 4.7/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:L/A:N
Weakness (CWE)
CWE-79
Platform
Composer
Package
codeigniter/framework
Disclosed
15.05.2024
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-q9j3-4ghj-6h57 - CC BY 4.0

Vulnerability history: codeigniter/framework

All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
4
First → latest
05.2022 05.2024
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 3
  • Medium 1

Disclosures per year

  1. 2022: 2
  2. 2023: 0
  3. 2024: 2
  4. 2025: 0
  5. 2026: 0
  1. Critical · 10.0 ghsa-27qr-636m-wxg2 < 3.1.0 3.1.0
  2. Inadequate XSS Prevention in CodeIgniter/Framework Security Library this entry
    Medium · 4.7 ghsa-q9j3-4ghj-6h57 < 3.0.3 3.0.3
  3. Critical · 9.8 CVE-2014-8684 < 3.0.0 3.0.0
  4. Critical · 9.8 CVE-2018-12071 < 3.1.10 3.1.10

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.