Skip to content

chore(frontend): bump swagger-typescript-api to 13.12.2 for security fixes - #953

Open
katsugtgz wants to merge 1 commit into
chaitin:mainfrom
katsugtgz:fix-swagger-typescript-api-security
Open

chore(frontend): bump swagger-typescript-api to 13.12.2 for security fixes#953
katsugtgz wants to merge 1 commit into
chaitin:mainfrom
katsugtgz:fix-swagger-typescript-api-security

Conversation

@katsugtgz

Copy link
Copy Markdown

Bumps swagger-typescript-api from 12.0.4 to 13.12.2 to resolve 6 known security vulnerabilities.

Cleared advisories

Notes

  • swagger-typescript-api is a dev dependency used only via CLI (sta --path ... --output ...). The major version bump (12 → 13) breaking changes affect only the programmatic generateApi() function return type, which is not used here.
  • Other advisories in the lockfile (uuid, vite, yaml) are unrelated and not addressed in this change.
  • Verified via osv-scanner: all 6 swagger-typescript-api advisories clear after this bump.

Addresses multiple security vulnerabilities in swagger-typescript-api:

- GHSA-38c3-wv3c-v3xj (CVE-2026-54661): Code injection via unescaped servers[0].url
- GHSA-5f94-x226-ccpm (CVE-2026-54664): Code injection via unescaped enum string values
- GHSA-h754-fxp7-88wx (CVE-2026-54660): Authorization-token exfiltration via spec $ref
- GHSA-hqj5-cw9f-rx67 (CVE-2026-54662): Code injection via unescaped servers[0].url (fetch)
- GHSA-w284-33mx-6g9v (CVE-2026-54666): Code injection via unescaped OpenAPI path strings
- GHSA-x36r-4347-pm5x: Server-Side Request Forgery via spec $ref

This package is used only as a dev dependency via CLI (sta command)
so the major version upgrade does not affect runtime behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant