Read the docs
TI-2026-66470 Aliases GHSA-pqhr-mp3f-hrpp

Nuxt OG Image vulnerable to Server-Side Request Forgery via user-controlled parameters

Priority LOW 38CWE-918Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

**Product:** Nuxt OG Image **Version:** < 6.2.5 **CWE-ID:** [CWE-918](https://cwe.mitre.org/data/definitions/918.html): Server-Side Request Forgery ## Description The image generation endpoint (`/_og/d/`) accepts user-controlled parameters that are passed to the server-side renderer without proper validation or filtering. An attacker can trigger server-side requests to internal network addresses through multiple vectors. ## Impact - Scanning internal ports and services inaccessible from the outside - Reading sensitive data from cloud infrastructure metadata services (tokens, credentials) when verbose error output is enabled ## Attack Vectors Three distinct vectors were identified, all exploiting the same underlying lack of URL validation: ### Vector 1: CSS `background-image` injection via `style` parameter ``` GET /_og/d/og.png?style=background-image:+url('http://127.0.0.1:8888/secret') ``` ### Vector 2: `<img src>` injection via `html` parameter ``` GET /_og/d/og.png?html=<img src="http://127.0.0.1:8888/secret"> ``` When verbose errors are enabled, the response content is leaked in base64-encoded error messages. ### Vector 3: SVG `<image href>` injection via `html` parameter ``` GET /_og/d/og.png?html=<svg><image href="http://127.0.0.1:8888/secret"></svg> ``` ## Mitigation Fixed in v6.2.5. The image source plugin now blocks requests to private IP ranges (IPv4/IPv6), loopback addresses, link-local addresses, and cloud metadata endpoints. Decimal/hexadecimal IP encoding bypasses are also handled. ## Credits Researcher: Dmitry Prokhorov (Positive Technologies)

Why it matters now

Fix Fixed nuxt-og-image (npm): 6.2.5

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—nuxt-og-image (npm)before 6.2.56.2.5Patch availableGHSA-pqhr-mp3f-hrpp
  • nuxt-og-image (npm) Vendor— Affected before 6.2.5 Fixed in 6.2.5 Patch available GHSA-pqhr-mp3f-hrpp

Remediation

  • Fix · GHSA-pqhr-mp3f-hrpp nuxt-og-image (npm) Fixed in 6.2.5 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-pqhr-mp3f-hrpp

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences