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.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.2%top 86.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
npmnuxt-og-image6.2.5GHSA-mg36-wvcr-m75h

Affected products (as reported)

VendorProductVersions
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