Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. xdLocalStorage
  4. ›
  5. CVE-2020-11611

CVE-2020-11611: URL Redirection to Untrusted Site ('Open Redirect')

December 9, 2021

An issue was discovered in xdLocalStorage The buildMessage() function in xdLocalStorage.js specifies the wildcard (*) as the targetOrigin when calling the postMessage() function on the iframe object. Therefore any domain that is currently loaded within the iframe can receive the messages that the client sends.

References

  • github.com/advisories/GHSA-c6c4-jmqx-3r33
  • github.com/ofirdagan/cross-domain-local-storage
  • grimhacker.com/exploiting-xdlocalstorage-localstorage-and-postmessage/
  • nvd.nist.gov/vuln/detail/CVE-2020-11611

Code Behaviors & Features

Detect and mitigate CVE-2020-11611 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2.0.5

Solution

Unfortunately, there is no solution available yet.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

npm/xdLocalStorage/CVE-2020-11611.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:18 +0000.