GHSA-7528-7jg5-6g62MediumCVSS 5.4

Cross-site Scripting Vulnerability in CodeIgniter4

Published
January 27, 2022
Last Modified
January 24, 2024

🔗 CVE IDs covered (1)

📋 Description

Impact

Cross-Site Scripting (XSS) vulnerability was found in API\ResponseTrait in Codeigniter4. Attackers can do XSS attacks if you are using API\ResponseTrait.

Patches

Upgrade to v4.1.8 or later.

Workarounds

Do one of the following:

  1. Do not use API\ResponseTrait nor ResourceController
  2. Disable Auto Route and Use Defined Routes Only

References

For more information

If you have any questions or comments about this advisory:

🎯 Affected products1

  • composer/codeigniter4/framework:< 4.1.8

🔗 References (6)