SCA: security update for swagger-typescript-api (GHSA-w284-33mx-6g9v)

high Tenable Cloud Security Plugin ID 445472

Description

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

- swagger-typescript-api generates API clients for Fetch or Axios from an OpenAPI Specification. Prior to
13.12.2, src/schema-routes/schema-routes.ts passes OpenAPI path keys through parseRouteName to
templates/default/procedure-call.ejs and templates/modular/procedure-call.ejs without escaping JavaScript
template literal interpolation, allowing an attacker-controlled path containing ${...} to execute when the
generated method is called. This issue is fixed in version 13.12.2. (CVE-2026-54666)

Solution

Update the swagger-typescript-api library and its related packages to version 13.12.2 or later.

See Also

https://github.com/advisories/GHSA-w284-33mx-6g9v

Plugin Details

Severity: High

ID: 445472

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 7/29/2026

Updated: 7/29/2026

Risk Information

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.6

Temporal Score: 5.6

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

CVSS Score Source: CVE-2026-54666

CVSS v3

Risk Factor: High

Base Score: 8.3

Temporal Score: 7.2

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 7/29/2026

Vulnerability Publication Date: 7/29/2026

Reference Information

CVE: CVE-2026-54666