SCA: security update for swagger-typescript-api (GHSA-38c3-wv3c-v3xj)

high Tenable Cloud Security Plugin ID 445456

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, templates/base/http-clients/axios-http-client.ejs interpolates servers[0].url from src/code-gen-
process.ts into the HttpClient constructor without escaping, allowing an attacker-controlled OpenAPI spec
to inject code that executes when new HttpClient() or new Api() is constructed. This issue is fixed in
version 13.12.2. (CVE-2026-54661)

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-38c3-wv3c-v3xj

Plugin Details

Severity: High

ID: 445456

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-54661

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-54661