CodeIgniter4 is the 4.x branch of CodeIgniter, a PHP full-stack web framework. A cross-site scripting (XSS) vulnerability was found in `API\ResponseTrait` in Codeigniter4 prior to version 4.1.8. Attackers can do XSS attacks if a potential victim is using `API\ResponseTrait`. Version 4.1.8 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.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: GitHub_M
Published: 2022-01-24T19:55:10
Updated: 2024-08-03T02:53:35.389Z
Reserved: 2021-11-16T00:00:00
Link: CVE-2022-21715
Vulnrichment
No data.
NVD
Status : Modified
Published: 2022-01-24T20:15:08.713
Modified: 2024-11-21T06:45:17.603
Link: CVE-2022-21715
Redhat
No data.