- Accueil
- Vulnérabilités
- CVE-2026-108551
CVE-2026-108551
openapi-typescript-codegen through 0.31.0 Code Injection via Handlebars Templates
Moyen
51/100
Résumé
openapi-typescript-codegen through 0.31.0 contains a code injection vulnerability that allows attackers controlling an OpenAPI document to inject JavaScript by supplying unescaped values interpolated into single-quoted string literals. Attackers can embed a single quote in path keys, parameter names, servers[0].url, or info.version to execute arbitrary JavaScript when generated clients are imported or service methods called.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
ferdikoomen (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| openapi-typescript-codegen | jusqu’à 0.31.0 (inclus) |
— | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Références
- https://github.com/ferdikoomen/openapi-typescript-codegenproduct
- https://github.com/ferdikoomen/openapi-typescript-codegen/blob/v0.31.0/src/templates/core/OpenAPI.hbs#L20-L23technical-description
- https://github.com/ferdikoomen/openapi-typescript-codegen/blob/v0.31.0/src/templates/exportService.hbs#L89-L110technical-description
- https://github.com/ferdikoomen/openapi-typescript-codegen/issues/2809issue-tracking
- https://www.vulncheck.com/advisories/openapi-typescript-codegen-through-0.31.0-code-injection-via-handlebars-templatesthird-party-advisory
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- NVD
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H(CVSS 3.1, NVD)- Faiblesse
- CWE-94 · Injection de commandes / code