ghsa-9gr3-7897-pp7m
Vulnerability from github
Published
2021-09-01 18:24
Modified
2021-08-31 20:01
Severity ?
Summary
XSS in Image Optimization API for Next.js
Details
Impact
- Affected: All of the following must be true to be affected
- Next.js between version 10.0.0 and 11.1.0
- The
next.config.js
file hasimages.domains
array assigned - The image host assigned in
images.domains
allows user-provided SVG
- Not affected: The
next.config.js
file hasimages.loader
assigned to something other than default - Not affected: Deployments on Vercel are not affected
Patches
{ "affected": [ { "package": { "ecosystem": "npm", "name": "next" }, "ranges": [ { "events": [ { "introduced": "10.0.0" }, { "fixed": "11.1.1" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2021-39178" ], "database_specific": { "cwe_ids": [ "CWE-79" ], "github_reviewed": true, "github_reviewed_at": "2021-08-31T20:01:51Z", "nvd_published_at": "2021-08-31T00:15:00Z", "severity": "HIGH" }, "details": "### Impact\n- **Affected:** All of the following must be true to be affected\n - Next.js between version 10.0.0 and 11.1.0\n - The `next.config.js` file has [`images.domains`](https://nextjs.org/docs/basic-features/image-optimization#domains) array assigned\n - The image host assigned in [`images.domains`](https://nextjs.org/docs/basic-features/image-optimization#domains) allows user-provided SVG\n- **Not affected**: The `next.config.js` file has [`images.loader`](https://nextjs.org/docs/basic-features/image-optimization#loader) assigned to something other than default\n- **Not affected**: Deployments on [Vercel](https://vercel.com) are not affected\n\n### Patches\n[Next.js v11.1.1](https://github.com/vercel/next.js/releases/tag/v11.1.1)\n\n", "id": "GHSA-9gr3-7897-pp7m", "modified": "2021-08-31T20:01:51Z", "published": "2021-09-01T18:24:22Z", "references": [ { "type": "WEB", "url": "https://github.com/vercel/next.js/security/advisories/GHSA-9gr3-7897-pp7m" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-39178" }, { "type": "WEB", "url": "https://github.com/vercel/next.js/pull/28620" }, { "type": "WEB", "url": "https://github.com/vercel/next.js/commit/7afc97c5744b38bdf36aa7f87625f438224688aa" }, { "type": "PACKAGE", "url": "https://github.com/vercel/next.js" }, { "type": "WEB", "url": "https://github.com/vercel/next.js/releases/tag/v11.1.1" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H", "type": "CVSS_V3" } ], "summary": "XSS in Image Optimization API for Next.js" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.