GHSA-c6c4-jmqx-3r33

Suggest an improvement
Source
https://github.com/advisories/GHSA-c6c4-jmqx-3r33
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/12/GHSA-c6c4-jmqx-3r33/GHSA-c6c4-jmqx-3r33.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-c6c4-jmqx-3r33
Aliases
Published
2021-12-09T19:30:14Z
Modified
2023-11-08T04:02:06.768541Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Open Redirect in xdLocalStorage
Details

An issue was discovered in xdLocalStorage through 2.0.5. 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.

Database specific
{
    "nvd_published_at": "2020-04-07T18:15:00Z",
    "github_reviewed_at": "2021-05-25T16:23:58Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-601"
    ]
}
References

Affected packages

npm / xdlocalstorage

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
2.0.5