Next.js: Remote Code Execution in next/og ImageResponse — GHSA-VCVR-R3JV-PC5J
GitHub · GitHub · GHSA-VCVR-R3JV-PC5J
ID
GHSA-VCVR-R3JV-PC5J
GHSA-VCVR-R3JV-PC5J
Date
Source
GitHub
GitHub
Vendor
GitHub
GitHub
Threat
critical
critical
CVSS
9.5
9.5
Summary
## Impact The Node.js `ImageResponse` implementation from `next/og` is affected by an upstream vulnerability. This can lead to remote code execution. Affected applications pass attacker-controlled values into SVG content, attributes, or styles during image generation: ```tsx import { ImageResponse } from 'next/og' export async function GET(request: Request) { const value = new…
Timeline
- Published by source
- 2026-09-30
Risk context
- Reported severity or threat level: critical.
- Reported CVSS score: 9.5 out of 10.
- Review exposure for the affected product or family: npm: next.
Product
npm: next
What to do
General, cautious steps (verify details in the official source):
- Prioritize patching or mitigation immediately (treat as actively risky).
- Identify affected product versions in your inventory and verify whether you are impacted.
- Apply vendor patches/updates or recommended mitigations as soon as available.
- Read the official advisory for exact affected versions and remediation steps.
Official advisory
Evidence and provenance
- Canonical advisory ID
- GHSA-VCVR-R3JV-PC5J
- Source
- GitHub
- Vendor
- GitHub
- Published by source
- 2026-09-30
- Last source activity
- 2026-09-30
- Curated by
- hlukh.ch
Related advisories and connections
These advisories are connected by shared CVE, product, vendor, source, or time signals.