GHSA-pqhr-mp3f-hrpp: Nuxt og image Nuxt OG Image Vulnerable To Vulnerability
MODERATEGHSA-pqhr-mp3f-hrpp is a MODERATE (CVSS 5.3) nuxt og image vulnerable to vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Nuxt og image libraries in the npm ecosystem. The issue involves nuxt og image vulnerable to server-side request forgery via user-controlled parameters. Remediation is available by upgrading affected packages to version 6.2.5.
GHSA-pqhr-mp3f-hrpp at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix GHSA-pqhr-mp3f-hrpp
To remediate this vulnerability, upgrade all affected Nuxt og image dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install nuxt-og-image@6.2.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls nuxt-og-image
How to Check if You Are Affected
To determine whether your Node.js application is affected by GHSA-pqhr-mp3f-hrpp, inspect your project dependencies using npm:
npm ls nuxt-og-image
Analyze the terminal output to locate any version of Nuxt og image in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.2.5), your application is affected.
Note: The npm ls nuxt-og-image command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Nuxt og image, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
GHSA-pqhr-mp3f-hrpp Affected Nuxt og image Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
nuxt-og-image
|
npm |
< 6.2.5
|
6.2.5
|
References
Frequently Asked Questions
What is GHSA-pqhr-mp3f-hrpp?
Which Nuxt og image versions are affected?
What version fixes GHSA-pqhr-mp3f-hrpp?
Is nuxt-og-image affected?
What is the CVSS score of GHSA-pqhr-mp3f-hrpp?
What CWE is associated with GHSA-pqhr-mp3f-hrpp?
How can I check npm dependencies for GHSA-pqhr-mp3f-hrpp?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-pqhr-mp3f-hrpp",
"modified" : "2026-03-31T23:26:29Z",
"published" : "2026-03-31T23:26:29Z",
"aliases" : [ ],
"summary" : "Nuxt OG Image vulnerable to Server-Side Request Forgery via user-controlled parameters",
"details" : "**Product:** Nuxt OG Image\n**Version:** < 6.2.5\n**CWE-ID:** [CWE-918](https://cwe.mitre.org/data/definitions/918.html): Server-Side Request Forgery\n\n## Description\n\nThe 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.\n\n## Impact\n\n- Scanning internal ports and services inaccessible from the outside\n- Reading sensitive data from cloud infrastructure metadata services (tokens, credentials) when verbose error output is enabled\n\n## Attack Vectors\n\nThree distinct vectors were identified, all exploiting the same underlying lack of URL validation:\n\n### Vector 1: CSS `background-image` injection via `style` parameter\n\n```\nGET /_og/d/og.png?style=background-image:+url('http://127.0.0.1:8888/secret')\n```\n\n### Vector 2: `<img src>` injection via `html` parameter\n\n```\nGET /_og/d/og.png?html=<img src=\"http://127.0.0.1:8888/secret\">\n```\n\nWhen verbose errors are enabled, the response content is leaked in base64-encoded error messages.\n\n### Vector 3: SVG `<image href>` injection via `html` parameter\n\n```\nGET /_og/d/og.png?html=<svg><image href=\"http://127.0.0.1:8888/secret\"></svg>\n```\n\n## Mitigation\n\nFixed 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.\n\n## Credits\n\nResearcher: Dmitry Prokhorov (Positive Technologies)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "nuxt-og-image"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.2.5"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/nuxt-modules/og-image/security/advisories/GHSA-pqhr-mp3f-hrpp"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/nuxt-modules/og-image"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-03-31T23:26:29Z",
"nvd_published_at" : null
}
}