{"id":"CVE-2026-34404","aliases":["CVE-2026-34404","GHSA-c7xp-q6q8-hg76"],"related":[],"kind":"vulnerability","state":"published","title":"Nuxt OG Image vulnerable to DoS via image generation","summary":"Nuxt OG Image generates OG Images with Vue templates in Nuxt. Prior to version 6.2.5, the image‑generation component by the URI: /_og/d/ (and, in older versions, /og-image/) contains a Denial of Service (DoS) vulnerability. The issue arises because there is no restriction on the width and height parameters of the generated image. The vulnerability was reproduced using the standard configuration and the default templates. This issue has been patched in version 6.2.5.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Nuxt OG Image generates OG Images with Vue templates in Nuxt. Prior to version 6.2.5, the image‑generation component by the URI: /_og/d/ (and, in older versions, /og-image/) contains a Denial of Service (DoS) vulnerability. The issue arises because there is no restriction on the width and height parameters of the generated image. The vulnerability was reproduced using the standard configuration and the default templates. This issue has been patched in version 6.2.5.","source":"cvelist"},{"lang":"en","text":"**Product:** Nuxt OG Image \n**Version:** 6.1.2\n**CWE-ID:** [CWE-404](https://cwe.mitre.org/data/definitions/404.html): Improper Resource Shutdown or Release\n**Description:** Failure to limit the length and width of the generated image results in a denial of service.\n**Impact:** Denial of service\n**Exploitation condition:** An external user\n**Mitigation:** Implement a limitation on the width and length of the generated image.\n**Researcher:** Dmitry Prokhorov (Positive Technologies)\n\n## Research \nDuring the analysis of the nuxt-og-image package, which is shipped with the nuxt-seo package, a zero‑day vulnerability was discovered.\nThis research revealed that the image‑generation component by the URI: `/_og/d/` (and, in older versions, `/og-image/`) contains a Denial of Service (DoS) vulnerability. The issue arises because there is no restriction on the width and height parameters of the generated image. The vulnerability was reproduced using the standard configuration and the default templates.\n\n_Listing 1. The content of the configuration file `nuxt.config.ts`_ \n```\nexport default defineNuxtConfig({\n  modules: ['nuxt-og-image'],\n  devServer: {\n    host: 'web-test.local',\n    port: 3000\n  },\n  site: {\n    url: 'http://web-test.local:3000',\n  },\n  ogImage: {\n    fonts: [\n      'Inter:400', \n      'Inter:700'\n    ],\n  }\n})\n```\n\n## Vulnerability reproduction\nTo demonstrate the proof‑of‑concept, a request should be sent with the increased `width` and `height` parameters. This will cause a delay and exhaust the server’s resources during image generation.\n\n_Listing 2. HTTP-request example_\n```\nGET /_og/d/og.png?width=20000&height=20000 HTTP/1.1\nHost: web-test.local:3000\n```\n\n_Figure 1. HTTP-response: denial-of-service error_\n<img width=\"974\" height=\"663\" alt=\"image\" src=\"https://github.com/user-attachments/assets/ff625249-2e0d-4a03-a734-3a77fd0cbb81\" />\n\nAfter sending a HTTP-request, the test server's memory was exhausted.\n\n_Figure 2. Video memory exhausted error_\n<img width=\"863\" height=\"1033\" alt=\"image\" src=\"https://github.com/user-attachments/assets/66b5919a-f039-468e-812e-1f709c468287\" />\n\n\n## Credits\nResearcher: Dmitry Prokhorov (Positive Technologies)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Nuxt OG Image genera imágenes OG con plantillas Vue en Nuxt. Antes de la versión 6.2.5, el componente de generación de imágenes por la URI: /_og/d/ (y, en versiones anteriores, /og-image/) contiene una vulnerabilidad de denegación de servicio (DoS). El problema surge porque no hay restricción en los parámetros de ancho y alto de la imagen generada. La vulnerabilidad fue reproducida usando la configuración estándar y las plantillas predeterminadas. Este problema ha sido parcheado en la versión 6.2.5.","source":"nvd"}],"published":"2026-03-31T21:16:07.824Z","modified":"2026-07-24T21:10:00.143Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":6.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-400","CWE-404"],"affected":[{"ranges":[{"version":"< 6.2.5","status":"affected"}],"vendor":"nuxt-modules","product":"og-image","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"6.2.5"}],"ecosystem":"npm","package":"nuxt-og-image","purl":"pkg:npm/nuxt-og-image","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"6.2.5"}],"vendor":"nuxt","product":"og_image","cpe":"cpe:2.3:a:nuxt:og_image:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/nuxt-modules/og-image/security/advisories/GHSA-c7xp-q6q8-hg76","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34404","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/nuxt-modules/og-image","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-04-01T13:37:22.582Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-34404","url":"https://www.cve.org/CVERecord?id=CVE-2026-34404","licence":"CVE Terms of Use","modified":"2026-04-01T13:37:28.025Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c7xp-q6q8-hg76","url":"https://github.com/advisories/GHSA-c7xp-q6q8-hg76","licence":"CC-BY-4.0","modified":"2026-04-06T16:48:01.611Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-34404","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34404","licence":"Public domain","modified":"2026-07-24T21:10:00.143Z"}],"updatedAt":"2026-11-25T22:59:17.641Z","epss":{"score":0.00376,"percentile":0.33672,"date":"2026-12-01T12:00:22.000Z"}}