CVE-2026-119347: Next SVG Rejection Bypass Vulnerability
MODERATECVE-2026-119347 is a MODERATE svg rejection bypass vulnerability (CWE-1287: Improper Validation of Specified Type of Input) affecting Next libraries in the npm ecosystem. The issue involves svg rejection bypass in the image optimization. Remediation is available by upgrading affected packages to version 15.5.29, 16.4.5.
CVE-2026-119347 at a Glance
How to Fix CVE-2026-119347
To remediate this vulnerability, upgrade all affected Next 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 next@15.5.29
npm install next@16.4.5
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls next
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2026-119347, inspect your project dependencies using npm:
npm ls next
Analyze the terminal output to locate any version of Next in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 15.5.29), your application is affected.
Note: The npm ls next 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-1287: Improper Validation of Specified Type of Input, where the product receives input that is expected to be of a certain type, but it does not validate or incorrectly validates that the input is actually of the expected type. In Next, 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
CVE-2026-119347 Affected Next Versions
2 component(s)References
Frequently Asked Questions
What is CVE-2026-119347?
Which Next versions are affected?
What version fixes CVE-2026-119347?
Is next affected?
What CWE is associated with CVE-2026-119347?
How can I check npm dependencies for CVE-2026-119347?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-7qx7-33qx-rqx2",
"modified" : "2026-11-19T22:23:06Z",
"published" : "2026-11-19T22:23:06Z",
"aliases" : [ "CVE-2026-119347" ],
"summary" : "Next.js: SVG rejection bypass in the image optimization",
"details" : "On self-hosted deployments, the Next.js image optimizer (`/_next/image`) can be made to process an attacker-supplied SVG even when SVG support is disabled with `dangerouslyAllowSVG: false` (the default). This reaches an SVG parser the application intended to keep disabled, increasing exposure to denial of service and SVG decoder vulnerabilities.",
"severity" : [ {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "next"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "15.0.0"
}, {
"fixed" : "15.5.29"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 15.5.28"
}
}, {
"package" : {
"ecosystem" : "npm",
"name" : "next"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "16.0.0"
}, {
"fixed" : "16.4.5"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 16.4.4"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/vercel/next.js/security/advisories/GHSA-7qx7-33qx-rqx2"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-119347"
}, {
"type" : "WEB",
"url" : "https://github.com/vercel/next.js/commit/4f133352e639589ad9872b9b55307b89b258e41b"
}, {
"type" : "WEB",
"url" : "https://github.com/vercel/next.js/commit/e66e656e7d423a828bdca5f87e82cef7038c57a6"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/vercel/next.js"
}, {
"type" : "WEB",
"url" : "https://github.com/vercel/next.js/releases/tag/v15.5.29"
}, {
"type" : "WEB",
"url" : "https://github.com/vercel/next.js/releases/tag/v16.4.5"
}, {
"type" : "WEB",
"url" : "https://nextjs.org/blog/november-2026-security-release"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1287" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-11-19T22:23:06Z",
"nvd_published_at" : "2026-11-16T19:17:26Z"
}
}