Vulnerability · Published Mar 31, 2026 · Assigned by GitHub_M
CVE-2026-34405Nuxt OG Image vulnerable to reflected XSS via query parameter injection into HTML attributes
Medium 6.1
In plain English
A medium-severity cross-site scripting in og-image from nuxt-modules. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 13% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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 vulnerability that allows injection of arbitrary attributes into the HTML page body. This issue has been patched in version 6.2.5.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | nuxt-og-image | 6.2.5 | GHSA-mg36-wvcr-m75h |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| nuxt-modules | og-image | < 6.2.5 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
References
- https://github.com/nuxt-modules/og-image/security/advisories/GHSA-mg36-wvcr-m75h x_refsource_CONFIRM