Vulnerability

CVE-2022-21715

mediumCVSS 3.1 6.1Published 24 Jan 2022

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Codeigniter codeigniter

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning