Skip to main content
VulnerabilityPublished

CVE-2026-54661: acacode swagger-typescript-api · Injection

Affects acacode swagger-typescript-apiSource CVE Database V5

0

Not known to be exploited · CVSS 8.3 High : upgrade to 13.12.2 soon.

Data as of 28 Oct 2026, 05:11 UTC

CVSS 3.1 base score
8.3High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 41% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 13.12.2
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 29 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade acacode swagger-typescript-api to 13.12.2.

Affected software

ProductAffectedFixed in
acacodeswagger-typescript-apiAffected
  • <13.12.2
Fixed in
  • 13.12.2
npmswagger-typescript-apipkg:npm/swagger-typescript-apiOther threatsAffected
  • <13.12.2
Fixed in
  • 13.12.2

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Upgrade to swagger-typescript-api version 13.12.2 or later, where the vulnerability is fixed by properly escaping the server URL during template interpolation. No other official remediation or temporary fixes are documented. Patch status is not explicitly confirmed in the vendor advisory, but the description states the issue is fixed in 13.12.2.

Description

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.

References

Community reviews

Loading reviews…