# swagger-typescript-api (npm) vulnerabilities

6 known vulnerabilities (5 high, 1 medium), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: 13.13.0 (Sep 18, 2026): no advisory affects it
- Newest unaffected release: 13.13.0 (Sep 18, 2026), the latest release
- Weekly downloads: 740.6K
- Dependents: 101
- Releases: 201 since 1.0.0 (Jan 14, 2020)
- Registry: https://www.npmjs.com/package/swagger-typescript-api
- Releases read: Nov 8, 2026

## Version timeline

Affected versions per advisory, in version order:

- CVE-2026-54666: 1.0.0 to 13.12.1 (13.12.2 is outside it)
- CVE-2026-54664: 1.0.0 to 13.12.1 (13.12.2 is outside it)
- CVE-2026-54661: 1.0.0 to 13.12.1 (13.12.2 is outside it)
- CVE-2026-54663: 1.0.0 to 13.12.1 (13.12.2 is outside it)
- CVE-2026-54662: 1.0.0 to 13.12.1 (13.12.2 is outside it)
- CVE-2026-54660: 1.0.0 to 13.12.1 (13.12.2 is outside it)

## Advisories (6)

### [CVE-2026-54666](https://cve.now/CVE-2026-54666): swagger-typescript-api vulnerable to code injection via unescaped OpenAPI path strings in generated method bodies

- Severity: High 8.3
- Published: Jul 29, 2026
- Affected: fixed in 13.12.2.
- Fixed in 13.12.2 (released Jun 8, 2026, 51 days before disclosure).
- The latest release, 13.13.0, is not affected.
- 46% of swagger-typescript-api downloads last week were affected versions (397.4K).

### [CVE-2026-54664](https://cve.now/CVE-2026-54664): swagger-typescript-api vulnerable to code injection via unescaped enum string values

- Severity: High 8.3
- Published: Jul 29, 2026
- Affected: fixed in 13.12.2.
- Fixed in 13.12.2 (released Jun 8, 2026, 51 days before disclosure).
- The latest release, 13.13.0, is not affected.
- 46% of swagger-typescript-api downloads last week were affected versions (397.4K).

### [CVE-2026-54661](https://cve.now/CVE-2026-54661): swagger-typescript-api vulnerable to code injection via unescaped \`servers\[0\].url\` in axios http-client template

- Severity: High 8.3
- Published: Jul 29, 2026
- Affected: fixed in 13.12.2.
- Fixed in 13.12.2 (released Jun 8, 2026, 51 days before disclosure).
- The latest release, 13.13.0, is not affected.
- 46% of swagger-typescript-api downloads last week were affected versions (397.4K).

### [CVE-2026-54663](https://cve.now/CVE-2026-54663): swagger-typescript-api vulnerable to Server-Side Request Forgery via spec \`$ref\`

- Severity: Medium 6.1
- Published: Jul 29, 2026
- Affected: fixed in 13.12.2.
- Fixed in 13.12.2 (released Jun 8, 2026, 51 days before disclosure).
- The latest release, 13.13.0, is not affected.
- 46% of swagger-typescript-api downloads last week were affected versions (397.4K).

### [CVE-2026-54662](https://cve.now/CVE-2026-54662): swagger-typescript-api vulnerable to code injection via unescaped \`servers\[0\].url\` in fetch http-client template

- Severity: High 8.3
- Published: Jul 29, 2026
- Affected: fixed in 13.12.2.
- Fixed in 13.12.2 (released Jun 8, 2026, 51 days before disclosure).
- The latest release, 13.13.0, is not affected.
- 46% of swagger-typescript-api downloads last week were affected versions (397.4K).

### [CVE-2026-54660](https://cve.now/CVE-2026-54660): swagger-typescript-api vulnerable to authorization-token exfiltration via spec \`$ref\`

- Severity: High 7.4
- Published: Jul 29, 2026
- Affected: fixed in 13.12.2.
- Fixed in 13.12.2 (released Jun 8, 2026, 51 days before disclosure).
- The latest release, 13.13.0, is not affected.
- 46% of swagger-typescript-api downloads last week were affected versions (397.4K).

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/swagger-typescript-api
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
