GHSA-q9j3-4ghj-6h57: Inadequate XSS Prevention in CodeIgniter/Framework Security Library
The xssclean() 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 xssclean() method is designed to sanitize input data by removing potentially malicious content, thus preventing XSS attacks.
Published May 15, 2024
Affected packages
codeigniter/framework
- Ecosystem
- Composer (PHP)
- Affected
- < 3.0.3
- Fixed in
- 3.0.3
- Check
composer show codeigniter/framework
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://github.com/bcit-ci/CodeIgniter/commit/71b1b3f5b2dcc0f4b652e9494e9853b82541ac8c
- https://github.com/FriendsOfPHP/security-advisories/blob/master/codeigniter/framework/2015-10-31-1.yaml
- https://www.codeigniter.com/user_guide/changelog.html#version-3-0-3
- https://github.com/advisories/GHSA-q9j3-4ghj-6h57
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
