CVE-2026-34404: Nuxt OG Image is vulnerable to Denial of Service via unbounded image dimensions
Product: Nuxt OG Image Version: 6.1.2 CWE-ID: CWE-404: Improper Resource Shutdown or Release Description: Failure to limit the length and width of the generated image results in a denial of service. Impact: Denial of service Exploitation condition: An external user Mitigation: Implement a limitation on the width and length of the generated image.
Published Mar 31, 2026 · Updated Apr 6, 2026
Affected packages
nuxt-og-image
- Ecosystem
- npm
- Affected
- < 6.2.5
- Fixed in
- 6.2.5
- Check
npm ls nuxt-og-image
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Product: Nuxt OG Image Version: 6.1.2 CWE-ID: CWE-404: Improper Resource Shutdown or Release Description: Failure to limit the length and width of the generated image results in a denial of service. Impact: Denial of service Exploitation condition: An external user Mitigation: Implement a limitation on the width and length of the generated image. Researcher: Dmitry Prokhorov (Positive Technologies)
Research
During the analysis of the nuxt-og-image package, which is shipped with the nuxt-seo package, a zero‑day vulnerability was discovered. This 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.
_Listing 1. The content of the configuration file nuxt.config.ts_
export default defineNuxtConfig({
modules: ['nuxt-og-image'],
devServer: {
host: 'web-test.local',
port: 3000
},
site: {
url: 'http://web-test.local:3000',
},
ogImage: {
fonts: [
'Inter:400',
'Inter:700'
],
}
})Vulnerability reproduction
To 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.
_Listing 2. HTTP-request example_
GET /_og/d/og.png?width=20000&height=20000 HTTP/1.1
Host: web-test.local:3000_Figure 1. HTTP-response: denial-of-service error_
After sending a HTTP-request, the test server's memory was exhausted.
_Figure 2. Video memory exhausted error_
Credits
Researcher: Dmitry Prokhorov (Positive Technologies)
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More npm vulnerabilities
All npm entriesCVE-2026-102527
Nuxt OG Image cache poisoning through derivable cache keys on unsigned dynamic image routes
medium6.9Oct 15, 2026CVE-2026-61793
Nuxt OG Image has unauthenticated SSRF via `fonts[].path` URL parameter
medium6.9Sep 17, 2026CVE-2026-44589
nuxt-og-image SSRF — bypass of GHSA-pqhr-mp3f-hrpp / v6.2.5 fix (IPv6 + redirect)
low3.7May 7, 2026CVE-2026-34405
Nuxt OG Image is vulnerable to reflected XSS via query parameter injection into HTML attributes
medium6.1Mar 31, 2026GHSA-pqhr-mp3f-hrpp
Nuxt OG Image vulnerable to Server-Side Request Forgery via user-controlled parameters
medium5.3Mar 31, 2026
