SCA: security update for codeigniter4/framework (GHSA-7528-7jg5-6g62)

medium Tenable Self-Hosted Container Security Plugin ID 411816

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2022-21715)

See Also

https://github.com/advisories/GHSA-7528-7jg5-6g62

Plugin Details

Severity: Medium

ID: 411816

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 8.67

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

Vector: CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS Score Source: CVE-2022-21715

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 1/27/2022

Vulnerability Publication Date: 1/24/2022

Reference Information

CVE: CVE-2022-21715

cwe: CWE-79