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

CVE-2015-9544: Improper Input Validation

December 9, 2021

An issue was discovered in xdLocalStorage The receiveMessage() function in xdLocalStoragePostMessageApi.js does not implement any validation of the origin of web messages. Remote attackers who can entice a user to load a malicious site can exploit this issue to impact the confidentiality and integrity of data in the local storage of the vulnerable site via malicious web messages.

References

  • github.com/advisories/GHSA-vrc7-6g8w-jh56
  • github.com/ofirdagan/cross-domain-local-storage
  • github.com/ofirdagan/cross-domain-local-storage/issues/17
  • github.com/ofirdagan/cross-domain-local-storage/pull/19
  • grimhacker.com/exploiting-xdlocalstorage-localstorage-and-postmessage/
  • nvd.nist.gov/vuln/detail/CVE-2015-9544

Code Behaviors & Features

Detect and mitigate CVE-2015-9544 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 7.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

npm/xdLocalStorage/CVE-2015-9544.yml

Spotted a mistake? Edit the file on GitLab.

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

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