nuxt-og-image

Ecosystem: npm

Downloads: 803.1 K

Vulnerabilities from the last (months)
  • 0CriticalAffects 0 versions
  • 0HighAffects 0 versions
  • 0MediumAffects 0 versions
  • 5ModerateAffects 5 versions
  • 1LowAffects 1 version
Severity distribution (all time)
6vulnerabilities
  • Critical0 (0.0%)
  • High0 (0.0%)
  • Medium0 (0.0%)
  • Moderate5 (83.3%)
  • Low1 (16.7%)

Monthly breakdown

  • Critical
  • High
  • Medium
  • Moderate
  • Low
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 0
  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 0
    • Low: 1
  • 3 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 3
    • Low: 0

Vulnerabilities (6)

Known vulnerabilities affecting nuxt-og-image, based on data from OSV.

Vulnerabilities affecting nuxt-og-image
IDSeveritySummaryAffected versionsPublishedSource
GHSA-2x6f-rp82-ppmjModerateNuxt OG Image cache poisoning through derivable cache keys on unsigned dynamic image routes**Vendor:** Nuxt **Product:** Nuxt OG Image **Version:** 6.2.5 **Description:** Due to the specifics of caching and key generation in the Open Graph image cache created by the module, an unauthenticated attacker can modify the content of the image (for example, the `title` parameter) that is delivered to the user. **Impact:** Content Spoofing **Vulnerable component:** route `/_og/d/*.png` **Exploitation conditions:** Access to the application **Mitigation:** Upgrade to 6.7.2 and set a sufficiently secure `secret` in config `ogImage` **Researcher:** Dmitry Vanin (Positive Technologies) ## Res
  • >= 6.2.5, < 6.7.0
GitHub (opens in a new tab)
GHSA-q8hw-4fvp-9rwvModerateNuxt OG Image has unauthenticated SSRF via `fonts[].path` URL parameter### Summary `nuxt-og-image` exposes an **unauthenticated HTTP endpoint** at `/_og/d/**` that base64url-decodes and `JSON.parse`s a `fonts` URL segment, then passes each `fonts[i].path` value directly into `fetch()` server-side **without any URL validation** (no scheme allowlist, no loopback/RFC1918 block, no host allowlist, no DNS rebinding mitigation). Under the module's documented default configuration (`security.strict = false`, `security.secret = ""`, `restrictRuntimeImagesToOrigin = false`), any caller able to reach the deployed Nuxt site can force the Nuxt server to issue arbitrary outb
  • >= 6.0.2, < 6.7.0
GitHub (opens in a new tab)
GHSA-c2rm-g55x-8hr5Lownuxt-og-image SSRF — bypass of GHSA-pqhr-mp3f-hrpp / v6.2.5 fix (IPv6 + redirect)## Summary The `isBlockedUrl()` denylist introduced in `nuxt-og-image@6.2.5` to remediate **GHSA-pqhr-mp3f-hrpp** (Dmitry Prokhorov / Positive Technologies, March 2026) is incomplete. The patch advisory states "Decimal/hexadecimal IP encoding bypasses are also handled" — that part is true (Node's WHATWG URL parser canonicalizes those forms before validation), but the v6.2.5 implementation misses two independent surfaces in the latest release `6.4.8`: 1. **IPv6 prefix list is incomplete.** The IPv6 branch checks only `bare === "::1" || startsWith("fc") || startsWith("fd") || startsWith("fe80"
  • >= 6.2.5, < 6.4.9
GitHub (opens in a new tab)
GHSA-c7xp-q6q8-hg76ModerateNuxt OG Image is vulnerable to Denial of Service via unbounded image dimensions**Product:** Nuxt OG Image **Version:** 6.1.2 **CWE-ID:** [CWE-404](https://cwe.mitre.org/data/definitions/404.html): Improper Resource Shutdown or Release **Description:** Failure to limit the length and width of the generated image results in a denial of service. **Impact:** Denial of service **Exploitation condition:** An external user **Mitigation:** Implement a limitation on the width and length of the generated image. **Researcher:** Dmitry Prokhorov (Positive Technologies) ## Research During the analysis of the nuxt-og-image package, which is shipped with the nuxt-seo package, a zero
  • < 6.2.5
GitHub (opens in a new tab)
GHSA-mg36-wvcr-m75hModerateNuxt OG Image is vulnerable to reflected XSS via query parameter injection into HTML attributes**Product:** Nuxt OG Image **Version:** 6.1.2 **CWE-ID:** [CWE-79](https://cwe.mitre.org/data/definitions/79.html): Improper Neutralization of Input During Web Page Generation **Description:** Incorrect parsing of GET parameters leads to the possibility of HTML injection and JavaScript code injection. **Impact:** Client-Side JavaScript Execution **Exploitation condition:** An external user **Mitigation:** Correct the logic of parsing GET parameters and their subsequent implementation into the generated page. **Researcher:** Dmitry Prokhorov (Positive Technologies) ## Research During the ana
  • < 6.2.5
GitHub (opens in a new tab)
GHSA-pqhr-mp3f-hrppModerateNuxt OG Image vulnerable to Server-Side Request Forgery via user-controlled parameters**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) w
  • < 6.2.5
GitHub (opens in a new tab)
  • GHSA-2x6f-rp82-ppmjModerate
    Nuxt OG Image cache poisoning through derivable cache keys on unsigned dynamic image routes
    • >= 6.2.5, < 6.7.0

    **Vendor:** Nuxt **Product:** Nuxt OG Image **Version:** 6.2.5 **Description:** Due to the specifics of caching and key generation in the Open Graph image cache created by the module, an unauthenticated attacker can modify the content of the image (for example, the `title` parameter) that is delivered to the user. **Impact:** Content Spoofing **Vulnerable component:** route `/_og/d/*.png` **Exploitation conditions:** Access to the application **Mitigation:** Upgrade to 6.7.2 and set a sufficiently secure `secret` in config `ogImage` **Researcher:** Dmitry Vanin (Positive Technologies) ## Res

    CVE: CVE-2026-102527

  • GHSA-q8hw-4fvp-9rwvModerate
    Nuxt OG Image has unauthenticated SSRF via `fonts[].path` URL parameter
    • >= 6.0.2, < 6.7.0

    ### Summary `nuxt-og-image` exposes an **unauthenticated HTTP endpoint** at `/_og/d/**` that base64url-decodes and `JSON.parse`s a `fonts` URL segment, then passes each `fonts[i].path` value directly into `fetch()` server-side **without any URL validation** (no scheme allowlist, no loopback/RFC1918 block, no host allowlist, no DNS rebinding mitigation). Under the module's documented default configuration (`security.strict = false`, `security.secret = ""`, `restrictRuntimeImagesToOrigin = false`), any caller able to reach the deployed Nuxt site can force the Nuxt server to issue arbitrary outb

    CVE: CVE-2026-61793

  • GHSA-c2rm-g55x-8hr5Low
    nuxt-og-image SSRF — bypass of GHSA-pqhr-mp3f-hrpp / v6.2.5 fix (IPv6 + redirect)
    • >= 6.2.5, < 6.4.9

    ## Summary The `isBlockedUrl()` denylist introduced in `nuxt-og-image@6.2.5` to remediate **GHSA-pqhr-mp3f-hrpp** (Dmitry Prokhorov / Positive Technologies, March 2026) is incomplete. The patch advisory states "Decimal/hexadecimal IP encoding bypasses are also handled" — that part is true (Node's WHATWG URL parser canonicalizes those forms before validation), but the v6.2.5 implementation misses two independent surfaces in the latest release `6.4.8`: 1. **IPv6 prefix list is incomplete.** The IPv6 branch checks only `bare === "::1" || startsWith("fc") || startsWith("fd") || startsWith("fe80"

    CVE: CVE-2026-44589

  • GHSA-c7xp-q6q8-hg76Moderate
    Nuxt OG Image is vulnerable to Denial of Service via unbounded image dimensions
    • < 6.2.5

    **Product:** Nuxt OG Image **Version:** 6.1.2 **CWE-ID:** [CWE-404](https://cwe.mitre.org/data/definitions/404.html): Improper Resource Shutdown or Release **Description:** Failure to limit the length and width of the generated image results in a denial of service. **Impact:** Denial of service **Exploitation condition:** An external user **Mitigation:** Implement a limitation on the width and length of the generated image. **Researcher:** Dmitry Prokhorov (Positive Technologies) ## Research During the analysis of the nuxt-og-image package, which is shipped with the nuxt-seo package, a zero

    CVE: CVE-2026-34404

  • GHSA-mg36-wvcr-m75hModerate
    Nuxt OG Image is vulnerable to reflected XSS via query parameter injection into HTML attributes
    • < 6.2.5

    **Product:** Nuxt OG Image **Version:** 6.1.2 **CWE-ID:** [CWE-79](https://cwe.mitre.org/data/definitions/79.html): Improper Neutralization of Input During Web Page Generation **Description:** Incorrect parsing of GET parameters leads to the possibility of HTML injection and JavaScript code injection. **Impact:** Client-Side JavaScript Execution **Exploitation condition:** An external user **Mitigation:** Correct the logic of parsing GET parameters and their subsequent implementation into the generated page. **Researcher:** Dmitry Prokhorov (Positive Technologies) ## Research During the ana

    CVE: CVE-2026-34405

  • GHSA-pqhr-mp3f-hrppModerate
    Nuxt OG Image vulnerable to Server-Side Request Forgery via user-controlled parameters
    • < 6.2.5

    **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) w

Showing 1-6 of 6 vulnerabilities