GitHub Advisoryadvisory · npm
GHSA-76qm-4f93-fg6f Improper Input Validation in xdLocalStorage
HIGH
Official page ↗
- Aliases
- CVE-2015-9545
- Ecosystem
- npm
- Packages
- xdlocalstorage
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-20
- Reviewed
- 2021-05-25
Affected packages
• npm xdlocalstorage: <= 2.0.5 (no fix yet)
Description
An issue was discovered in xdLocalStorage through 2.0.5. The receiveMessage() function in xdLocalStorage.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.
Related
Alias · CVE (1)
- CVE-2015-9545 An issue was discovered in xdLocalStorage through 2.0.5. vulnerability
Weakness · CWE (1)
- CWE-20 Improper Input Validation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2015-9545 advisory
- https://github.com/ofirdagan/cross-domain-local-storage/issues/17 web
- https://github.com/ofirdagan/cross-domain-local-storage/pull/19 web
- https://github.com/ofirdagan/cross-domain-local-storage web
- https://grimhacker.com/exploiting-xdlocalstorage-localstorage-and-postmessage/#Missing-Origin-Client web