CVE-2022-21715: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
(updated )
CodeIgniter4 is the branch of CodeIgniter, a PHP full-stack web framework. A cross-site scripting (XSS) vulnerability was found in API\ResponseTrait
in Codeigniter4 Attackers can do XSS attacks if a potential victim is using API\ResponseTrait
. contains a patch for this vulnerability. There are two potential workarounds available. Users may avoid using API\ResponseTrait
or ResourceController
Users may also disable Auto Route and use defined routes only.
References
Detect and mitigate CVE-2022-21715 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →