cvedb.io
CVE-2022-21715
MEDIUM · CVSS 5.4
EPSS exploitation probability: 0%
Published 2022-01-24T20:15:08.713 · Last modified 2026-06-17T04:26:49.403

Summary

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

codeigniter — codeigniter

Does this affect you?

Add your gear to cvedb and we'll alert you only when codeigniter ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.