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
Wed, 23 Apr 2025 19:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|

Status: PUBLISHED
Assigner: GitHub_M
Published: 2022-01-24T19:55:10.000Z
Updated: 2025-04-23T19:09:30.971Z
Reserved: 2021-11-16T00:00:00.000Z
Link: CVE-2022-21715

Updated: 2024-08-03T02:53:35.389Z

Status : Modified
Published: 2022-01-24T20:15:08.713
Modified: 2024-11-21T06:45:17.603
Link: CVE-2022-21715

No data.