GHSA-9gr3-7897-pp7m

Suggest an improvement
Source
https://github.com/advisories/GHSA-9gr3-7897-pp7m
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/09/GHSA-9gr3-7897-pp7m/GHSA-9gr3-7897-pp7m.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9gr3-7897-pp7m
Aliases
Related
Published
2021-09-01T18:24:22Z
Modified
2023-11-08T04:06:32.713160Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H CVSS Calculator
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 has images.domains array assigned
    • The image host assigned in images.domains allows user-provided SVG
  • Not affected: The next.config.js file has images.loader assigned to something other than default
  • Not affected: Deployments on Vercel are not affected

Patches

Next.js v11.1.1

Database specific
{
    "nvd_published_at": "2021-08-31T00:15:00Z",
    "github_reviewed_at": "2021-08-31T20:01:51Z",
    "severity": "HIGH",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

npm / next

Package

Affected ranges

Type
SEMVER
Events
Introduced
10.0.0
Fixed
11.1.1