Server side cross-site scripting In codeigniter4/framework
Description
Cross-site Scripting Vulnerability in CodeIgniter4
Impact
Cross-Site Scripting (XSS) vulnerability was found in API\ResponseTrait in Codeigniter4.
Attackers can do XSS attacks if you are using API\ResponseTrait.
Patches
Upgrade to v4.1.8 or later.
Workarounds
Do one of the following:
Do not use API\ResponseTrait nor ResourceController
Disable Auto Route and Use Defined Routes Only
References
For more information
If you have any questions or comments about this advisory:
Open an issue in codeigniter4/CodeIgniter4
Email us at SECURITY.md
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
packagist | 4.1.8 |
Aliases
1. 2. 3. 4. 5.
References
1. 2. 3. 4.