CVE-2022-21715

CodeIgniter4 is the 4.x branch of CodeIgniter, a PHP full-stack web framework. A cross-site scripting (XSS) vulnerability was found in `APIResponseTrait` in Codeigniter4 prior to version 4.1.8. Attackers can do XSS attacks if a potential victim is using `APIResponseTrait`. Version 4.1.8 contains a patch for this vulnerability. There are two potential workarounds available. Users may avoid using `APIResponseTrait` or `ResourceController` Users may also disable Auto Route and use defined routes only.
Configurations

Configuration 1

cpe:2.3:a:codeigniter:codeigniter:*:*:*:*:*:*:*:*

Information

Published : 2022-01-24 08:15

Updated : 2022-01-28 06:46


NVD link : CVE-2022-21715

Mitre link : CVE-2022-21715

Products Affected
No products.
CWE