swagger-typescript-api vulnerable to code injection via unescaped `servers[0].url` in fetch http-client template

Date Jul 29, 2026
Type Vendor advisory
Signal High-risk advisory
Vendor / Product npm ยท swagger-typescript-api
CVE CVE-2026-54662
High-risk advisory CVE-2026-54662

Summary

swagger-typescript-api vulnerable to code injection via unescaped `servers[0].url` in fetch http-client template

Why it matters

GitHub has published a reviewed security advisory for swagger-typescript-api. Prioritize it with other application dependency updates.

Operator check

Check whether swagger-typescript-api is present in application dependency manifests, lockfiles, or build images. Review the GitHub advisory and upgrade to a patched version where available.

Sources

PatchBrief uses public sources. It does not scan environments, verify exposure, or replace vendor guidance.