# CVE-2026-119347: Next.js: SVG rejection bypass in the image optimization

- **Severity:** MEDIUM 6.9
- **CVSS:** 6.9 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: Low; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.58% (percentile 41, 2026-11-26)
- **CWE:** CWE-1287
- **Aliases:** GHSA-7qx7-33qx-rqx2
- **Published:** 2026-11-16T18:25:35.998Z
- **Modified:** 2026-11-19T22:23:37.000Z

## Who should check

- Projects that depend on npm package next (\>= 15.0.0, \<= 15.5.28)
- Anyone running vercel next.js \>= 15.0.0, \< 15.5.29; \>= 16.0.0, \< 16.4.5

## Description

Next.js is a React framework for building full-stack web applications. From 15.0.0 until 15.5.29 and 16.4.5, the /\_next/image optimizer in self-hosted Next.js deployments can process attacker-supplied SVG content even when dangerouslyAllowSVG is false, which is the default. The SVG reaches a parser that the application intended to keep disabled, increasing exposure to denial of service and vulnerabilities in SVG decoding. This issue is fixed in versions 16.4.5 and 15.5.29.

## Affected and fixed versions

- npm `next`: affected \>= 15.0.0, \<= 15.5.28; fixed 15.5.29, 16.4.5 (ghsa)
- vercel next.js: \>= 15.0.0, \< 15.5.29; \>= 16.0.0, \< 16.4.5 (cvelist)

## Technologies

Next.js, npm packages

## Mitigation

- Upgrade next to one of 15.5.29, 16.4.5 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-119347. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-119347.md
Affected: next >= 15.0.0, <= 15.5.28
Fixed in: 15.5.29, 16.4.5

Steps:
1. Search this machine and project for next (npm), vercel next.js: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-119347 being exploited?

There is no confirmed exploitation: CVE-2026-119347 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.58% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-119347?

Medium: CVSS 6.9 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-119347?

next \>= 15.0.0, \<= 15.5.28.

### Is there a fix for CVE-2026-119347?

Yes. Fixed in 15.5.29, 16.4.5. Upgrade next to one of 15.5.29, 16.4.5 (or later in the same release line).

### How do I check if I'm affected by CVE-2026-119347?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/vercel/next.js/security/advisories/GHSA-7qx7-33qx-rqx2>
- patch: <https://github.com/vercel/next.js/commit/4f133352e639589ad9872b9b55307b89b258e41b>
- patch: <https://github.com/vercel/next.js/commit/e66e656e7d423a828bdca5f87e82cef7038c57a6>
- other: <https://github.com/vercel/next.js/releases/tag/v15.5.29>
- other: <https://github.com/vercel/next.js/releases/tag/v16.4.5>
- other: <https://nextjs.org/blog/november-2026-security-release>
- other: <https://nvd.nist.gov/vuln/detail/CVE-2026-119347>
- other: <https://github.com/advisories/GHSA-7qx7-33qx-rqx2>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-119347>
- GitHub Advisory Database: CC-BY 4.0 <https://github.com/advisories/GHSA-7qx7-33qx-rqx2> (license: <https://creativecommons.org/licenses/by/4.0/>)
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-119347> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-119347>
