Inadequate XSS Prevention in CodeIgniter/Framework Security Library
The advisory, in context
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 packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
Earlier releases before 3.0.3
Fixed in 3.0.3
8 explicitly affected versions
3.0.0, 3.0.1, 3.0.1rc, 3.0.1rc2, 3.0.2, 3.0rc, 3.0rc2, 3.0rc3
View affected-version evidence
{
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "3.0.3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"3.0.0",
"3.0.1",
"3.0.1rc",
"3.0.1rc2",
"3.0.2",
"3.0rc",
"3.0rc2",
"3.0rc3"
]
}