Medium · 6.9 Node.js & npm CVE-2026-102527 GHSA-2x6f-rp82-ppmj
Nuxt OG Image Cache Poisoning Vulnerability Allows Spoofed Open Graph Images (CVE-2026-102527)
Nuxt OG Image versions from 6.2.5 up to but not including 6.7.0 allow unauthenticated attackers to poison the dynamic image cache, causing spoofed Open Graph images to be served to site visitors. The issue is fixed in version 6.7.0.
By PatchBriefing ·
Produced automatically from official sources with the help of AI. How we work →
AI summary
A vulnerability has been disclosed in Nuxt OG Image, a module that generates Open Graph preview images from Vue templates in Nuxt applications. Tracked as CVE-2026-102527, the issue allows an unauthenticated attacker to poison the cache used for dynamically generated OG images, resulting in spoofed image content being served to legitimate users. The vulnerability has been assigned a PatchBriefing score of 4.6 and is fixed in version 6.7.0.
What Happened
Nuxt OG Image exposes a dynamic route, /_og/d/*.png, that generates Open Graph preview images. This route accepts unsigned requests, meaning there is no cryptographic verification tying a request to a legitimate, authorized image generation call. An unauthenticated attacker can supply attacker-controlled image data through the title parameter, along with a derived cache key, to overwrite the cache slot normally used to store a legitimate Open Graph image. As a result, visitors who load the affected page may be served the attacker's spoofed image instead of the intended one.
Technical Cause
The root cause lies in the resolvePathCacheKey() function, which derives cache keys from the request path, the site URL, and normalized rendering options. Because these inputs are exposed through image URLs and server responses, an attacker can predict or derive the exact cache key corresponding to a legitimate image. Combined with the lack of request signing on the dynamic image route, this allows the attacker to populate that cache slot with their own content. This is classified as CWE-349 (Acceptance of Extraneous Untrusted Data With Trusted Data), reflecting that the system accepts attacker-supplied data as if it were part of a trusted, legitimate rendering request.
Why It Matters
Open Graph images are used to represent a page's content on social media and messaging platforms when links are shared. If an attacker can poison the cache for these images, they can display misleading, offensive, or malicious content under the guise of a legitimate site, potentially damaging the site's reputation or facilitating further social engineering. The attack requires no authentication and no user interaction from the victim beyond visiting a page or viewing a shared link preview.
Who Is Affected
Any application using the nuxt-og-image package in an affected version range is potentially exposed, provided the dynamic image generation route is reachable by external requests.
Affected Versions
Versions of nuxt-og-image from 6.2.5 up to, but not including, 6.7.0 are affected.
Fixes and Mitigation
This issue is fixed in nuxt-og-image version 6.7.0. No additional mitigation details beyond upgrading are provided in the available source material.
Recommended Action
Site owners and developers using nuxt-og-image should upgrade to version 6.7.0 as soon as practical. If an immediate upgrade is not possible, review exposure of the dynamic /_og/d/*.png route and consider restricting or monitoring access to it until the update can be applied.
PatchBriefing score
6.9 / 10 · Medium
Official CVSS: 6.9
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS 0.0027 (12 percentile)
Why this score
The PatchBriefing score equals the official CVSS score; when this article covers several vulnerabilities, the highest one. Signals such as known exploitation and EPSS are listed separately and do not change the score.
Affected versions
- nuxt-og-image >= 6.2.5, < 6.7.0
- vulnerable
- nuxt-og-image ≥ 6.2.5 < 6.7.0
- vulnerable
- ≥ 6.7.0
- patched
Reported fixes
This issue is fixed in nuxt-og-image version 6.7.0. No additional mitigation details beyond upgrading are provided in the available source material.
How this was built
3 source records were collected, matched and used to prepare the report above.
-
NVD (NIST) database
-
GitHub Advisory Database database
-
OSV.dev database
Revision history
- Published
- Generated