fix(deps): update dependency nuxt-og-image to v6 [security]#72
Open
renovate[bot] wants to merge 1 commit into
Open
fix(deps): update dependency nuxt-og-image to v6 [security]#72renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
b273187 to
f0c9e95
Compare
f0c9e95 to
97d37af
Compare
97d37af to
949cb0e
Compare
949cb0e to
09871cb
Compare
09871cb to
e4e81c6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^5.0.2→^6.0.0Nuxt OG Image is vulnerable to Denial of Service via unbounded image dimensions
CVE-2026-34404 / GHSA-c7xp-q6q8-hg76
More information
Details
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.tsVulnerability reproduction
To demonstrate the proof‑of‑concept, a request should be sent with the increased
widthandheightparameters. This will cause a delay and exhaust the server’s resources during image generation.Listing 2. HTTP-request example
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)
Severity
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Nuxt OG Image vulnerable to Server-Side Request Forgery via user-controlled parameters
GHSA-pqhr-mp3f-hrpp
More information
Details
Product: Nuxt OG Image
Version: < 6.2.5
CWE-ID: CWE-918: Server-Side Request Forgery
Description
The image generation endpoint (
/_og/d/) accepts user-controlled parameters that are passed to the server-side renderer without proper validation or filtering. An attacker can trigger server-side requests to internal network addresses through multiple vectors.Impact
Attack Vectors
Three distinct vectors were identified, all exploiting the same underlying lack of URL validation:
Vector 1: CSS
background-imageinjection viastyleparameterVector 2:
<img src>injection viahtmlparameterWhen verbose errors are enabled, the response content is leaked in base64-encoded error messages.
Vector 3: SVG
<image href>injection viahtmlparameterMitigation
Fixed in v6.2.5. The image source plugin now blocks requests to private IP ranges (IPv4/IPv6), loopback addresses, link-local addresses, and cloud metadata endpoints. Decimal/hexadecimal IP encoding bypasses are also handled.
Credits
Researcher: Dmitry Prokhorov (Positive Technologies)
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Nuxt OG Image is vulnerable to reflected XSS via query parameter injection into HTML attributes
CVE-2026-34405 / GHSA-mg36-wvcr-m75h
More information
Details
Product: Nuxt OG Image
Version: 6.1.2
CWE-ID: CWE-79: Improper Neutralization of Input During Web Page Generation
Description: Incorrect parsing of GET parameters leads to the possibility of HTML injection and JavaScript code injection.
Impact: Client-Side JavaScript Execution
Exploitation condition: An external user
Mitigation: Correct the logic of parsing GET parameters and their subsequent implementation into the generated page.
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 vulnerability that allows injection of arbitrary attributes into the HTML page body. The vulnerability was reproduced using the standard configuration and the default templates.Listing 1. The content of the configuration file
nuxt.config.tsVulnerability reproduction
To demonstrate the proof‑of‑concept, follow the URI:
/_og/d/og.html?width=1000&height=1000&onmouseover=alert(document.cookie)&autofocusThe injected parameters
onmouseover=alert(document.cookie)andautofocusare treated as attributes and are inserted directly into the generated HTML page.Listing 2. HTTP-request example
Figure 1. The injected attribute in the HTML body

Figure 2. JavaScript code execution

Credits
Researcher: Dmitry Prokhorov (Positive Technologies)
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
nuxt-modules/og-image (nuxt-og-image)
v6.2.5Compare Source
🐞 Bug Fixes
View changes on GitHub
v6.2.4Compare Source
compare changes
🩹 Fixes
🏡 Chore
❤️ Contributors
v6.2.3Compare Source
🐞 Bug Fixes
🏎 Performance
View changes on GitHub
v6.2.2Compare Source
compare changes
🔥 Performance
🩹 Fixes
🏡 Chore
❤️ Contributors
v6.2.1Compare Source
compare changes
🏡 Chore
❤️ Contributors
v6.2.0Compare Source
compare changes
🩹 Fixes
🏡 Chore
❤️ Contributors
v6.1.2Compare Source
compare changes
🚀 Enhancements
defineOgImageSchema()composable (#520)🩹 Fixes
💅 Refactors
🏡 Chore
✅ Tests
❤️ Contributors
v6.1.1Compare Source
compare changes
🩹 Fixes
🏡 Chore
❤️ Contributors
v6.1.0Compare Source
compare changes
🩹 Fixes
🏡 Chore
❤️ Contributors
v6.0.7Compare Source
compare changes
🚀 Enhancements
createandswitchcommands with DX improvements (#508)🩹 Fixes
🏡 Chore
❤️ Contributors
v6.0.6Compare Source
compare changes
🩹 Fixes
🏡 Chore
❤️ Contributors
v6.0.5Compare Source
compare changes
🩹 Fixes
🏡 Chore
❤️ Contributors
v6.0.4Compare Source
compare changes
🏡 Chore
❤️ Contributors
v6.0.3Compare Source
compare changes
🩹 Fixes
🏡 Chore
❤️ Contributors
v6.0.2Compare Source
🐞 Bug Fixes
View changes on GitHub
v6.0.1Compare Source
compare changes
🩹 Fixes
💅 Refactors
sanitizeTakumiStyles(#498)🏡 Chore
❤️ Contributors
v6.0.0Compare Source
compare changes
🚀 Enhancements
defineOgImageUrlcomposable for pre-prepared images (acff3941)🩹 Fixes
defineOgImage({ url })->useSeoMeta(#496)💅 Refactors
🏡 Chore
❤️ Contributors
v5.1.13Compare Source
🐞 Bug Fixes
View changes on GitHub
v5.1.12Compare Source
🐞 Bug Fixes
View changes on GitHub
v5.1.11Compare Source
🐞 Bug Fixes
distpublishing - by @harlan-zw (24a29)View changes on GitHub
v5.1.10Compare Source
🐞 Bug Fixes
getOgImagePathusage - by @harlan-zw (8904f)View changes on GitHub
v5.1.9Compare Source
🐞 Bug Fixes
View changes on GitHub
v5.1.8Compare Source
🐞 Bug Fixes
#imports- by @harlan-zw (f2788)View changes on GitHub
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.