{"items":[{"id":"NVI-00015301","kind":"vulnerability","title":"swagger-typescript-api vulnerable to code injection via unescaped OpenAPI path strings in generated method bodies","revision":3,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-w284-33mx-6g9v","CVE-2026-54666"],"plain_summary":"GitHub lists this reviewed advisory for swagger-typescript-api. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-046e10bffc274668e2707a3e39071161"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-07-29T14:35:03.000Z","value":"8.3 high","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-57b4cb72552da86d723feb23bae4a06c"},{"kind":"EPSS","as_of":"2026-11-05T12:03:04.000Z","value":"0.359%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.29865. Missing scores are unknown.","source_id":"sr-046e10bffc274668e2707a3e39071161"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-57b4cb72552da86d723feb23bae4a06c","url":"https://github.com/advisories/GHSA-w284-33mx-6g9v","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-w284-33mx-6g9v","publisher":"GitHub Advisory Database","observed_at":"2026-11-03T09:59:04.660Z"},{"id":"sr-046e10bffc274668e2707a3e39071161","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-54666","publisher":"FIRST EPSS","observed_at":"2026-11-06T07:17:46.385Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-57b4cb72552da86d723feb23bae4a06c"],"technology":"swagger-typescript-api","known_exclusions":[],"conditions_summary":"### Summary\n\n`swagger-typescript-api` interpolates OpenAPI path strings (the keys of the `paths` object, e.g. `/users/{id}`) directly into a JavaScript template literal inside the body of every generated API method, without escaping. A spec path containing `${ … }` survives `parseRouteName`'s `{x}` / `:x` rewriter verbatim and lands as live JS-template-literal interpolation inside the generated `path: \\`...\\`` line. Any consumer who calls the affected generated method evaluates the attacker's expression with full importer privileges — file read/write, exfiltration, etc. The attacker controls the OpenAPI spec (remote URL, third-party / public spec, multi-tenant platform); the victim is whoever runs the generator and uses the resulting client.\n\n### Details\n\n`parseRouteName` (`src/schema-routes/schema-routes.ts:147-189`) preprocesses spec paths by rewriting `{x}` and `:x` path-parameter patterns into `${x}` JS template-literal interpolations:\n\n```ts\nconst pathParamMatches = (routeName || \"\").match(\n  /({[\\w[\\\\\\]^`][-_.\\w]*})|(:[\\w[\\\\\\]^`][-_.\\w]*:?)/g,\n);\n// ...\nreturn fixedRoute.replace(pathParam.$match, `\\${${insertion}}`);\n```\n\nThe regex only matches `{` followed by word characters","public_affected_ranges":["<= 13.12.1"]}],"null_published_at":"2026-11-07T07:07:42.548Z","source_updated_at":"2026-07-29T14:35:03.000Z","source_disclosed_at":"2026-07-29T14:35:02.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-11-03T09:59:04.660Z"},{"id":"NVI-00015301","kind":"vulnerability","title":"swagger-typescript-api vulnerable to code injection via unescaped OpenAPI path strings in generated method bodies","revision":2,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-w284-33mx-6g9v","CVE-2026-54666"],"plain_summary":"GitHub lists this reviewed advisory for swagger-typescript-api. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-0ba3221cd30d00e07e32fcc2b974a979"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-07-29T14:35:03.000Z","value":"8.3 high","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-57b4cb72552da86d723feb23bae4a06c"},{"kind":"EPSS","as_of":"2026-11-03T12:00:27.000Z","value":"0.359%","meaning":"FIRST EPSS model v2026.06.15; exploitation probability over 30 days, percentile 0.2976. Missing scores are unknown.","source_id":"sr-0ba3221cd30d00e07e32fcc2b974a979"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-57b4cb72552da86d723feb23bae4a06c","url":"https://github.com/advisories/GHSA-w284-33mx-6g9v","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-w284-33mx-6g9v","publisher":"GitHub Advisory Database","observed_at":"2026-11-03T09:59:04.660Z"},{"id":"sr-0ba3221cd30d00e07e32fcc2b974a979","url":"https://www.first.org/epss/data.html","basis":"official_catalog","notes":"FIRST EPSS; probability of exploitation in the next 30 days, not local compromise. Dataset date/model retained; FIRST services terms apply.","title":"CVE-2026-54666","publisher":"FIRST EPSS","observed_at":"2026-11-03T17:44:07.788Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-57b4cb72552da86d723feb23bae4a06c"],"technology":"swagger-typescript-api","known_exclusions":[],"conditions_summary":"### Summary\n\n`swagger-typescript-api` interpolates OpenAPI path strings (the keys of the `paths` object, e.g. `/users/{id}`) directly into a JavaScript template literal inside the body of every generated API method, without escaping. A spec path containing `${ … }` survives `parseRouteName`'s `{x}` / `:x` rewriter verbatim and lands as live JS-template-literal interpolation inside the generated `path: \\`...\\`` line. Any consumer who calls the affected generated method evaluates the attacker's expression with full importer privileges — file read/write, exfiltration, etc. The attacker controls the OpenAPI spec (remote URL, third-party / public spec, multi-tenant platform); the victim is whoever runs the generator and uses the resulting client.\n\n### Details\n\n`parseRouteName` (`src/schema-routes/schema-routes.ts:147-189`) preprocesses spec paths by rewriting `{x}` and `:x` path-parameter patterns into `${x}` JS template-literal interpolations:\n\n```ts\nconst pathParamMatches = (routeName || \"\").match(\n  /({[\\w[\\\\\\]^`][-_.\\w]*})|(:[\\w[\\\\\\]^`][-_.\\w]*:?)/g,\n);\n// ...\nreturn fixedRoute.replace(pathParam.$match, `\\${${insertion}}`);\n```\n\nThe regex only matches `{` followed by word characters","public_affected_ranges":["<= 13.12.1"]}],"null_published_at":"2026-11-06T00:29:57.242Z","source_updated_at":"2026-07-29T14:35:03.000Z","source_disclosed_at":"2026-07-29T14:35:02.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"Dated EPSS estimate updated; this is not a new disclosure or proof of exploitation.","null_first_observed_at":"2026-11-03T09:59:04.660Z"},{"id":"NVI-00015301","kind":"vulnerability","title":"swagger-typescript-api vulnerable to code injection via unescaped OpenAPI path strings in generated method bodies","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-w284-33mx-6g9v","CVE-2026-54666"],"plain_summary":"GitHub lists this reviewed advisory for swagger-typescript-api. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-57b4cb72552da86d723feb23bae4a06c"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[{"kind":"CVSS","as_of":"2026-07-29T14:35:03.000Z","value":"8.3 high","meaning":"GitHub source severity; exploitability and local consequence require separate evidence.","source_id":"sr-57b4cb72552da86d723feb23bae4a06c"}],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-57b4cb72552da86d723feb23bae4a06c","url":"https://github.com/advisories/GHSA-w284-33mx-6g9v","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-w284-33mx-6g9v","publisher":"GitHub Advisory Database","observed_at":"2026-11-03T09:59:04.660Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-57b4cb72552da86d723feb23bae4a06c"],"technology":"swagger-typescript-api","known_exclusions":[],"conditions_summary":"### Summary\n\n`swagger-typescript-api` interpolates OpenAPI path strings (the keys of the `paths` object, e.g. `/users/{id}`) directly into a JavaScript template literal inside the body of every generated API method, without escaping. A spec path containing `${ … }` survives `parseRouteName`'s `{x}` / `:x` rewriter verbatim and lands as live JS-template-literal interpolation inside the generated `path: \\`...\\`` line. Any consumer who calls the affected generated method evaluates the attacker's expression with full importer privileges — file read/write, exfiltration, etc. The attacker controls the OpenAPI spec (remote URL, third-party / public spec, multi-tenant platform); the victim is whoever runs the generator and uses the resulting client.\n\n### Details\n\n`parseRouteName` (`src/schema-routes/schema-routes.ts:147-189`) preprocesses spec paths by rewriting `{x}` and `:x` path-parameter patterns into `${x}` JS template-literal interpolations:\n\n```ts\nconst pathParamMatches = (routeName || \"\").match(\n  /({[\\w[\\\\\\]^`][-_.\\w]*})|(:[\\w[\\\\\\]^`][-_.\\w]*:?)/g,\n);\n// ...\nreturn fixedRoute.replace(pathParam.$match, `\\${${insertion}}`);\n```\n\nThe regex only matches `{` followed by word characters","public_affected_ranges":["<= 13.12.1"]}],"null_published_at":"2026-11-03T10:03:26.568Z","source_updated_at":"2026-07-29T14:35:03.000Z","source_disclosed_at":"2026-07-29T14:35:02.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-11-03T09:59:04.660Z"}],"next_cursor":null,"snapshot_revision":"42594"}