GHSA-j8r2-2x94-2q67

Suggest an improvement
Source
https://github.com/advisories/GHSA-j8r2-2x94-2q67
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-j8r2-2x94-2q67/GHSA-j8r2-2x94-2q67.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-j8r2-2x94-2q67
Published
2020-09-11T21:19:09Z
Modified
2021-09-28T16:59:50Z
Summary
Cross-Site Scripting in diagram-js-direct-editing
Details

Versions of diagram-js-direct-editing prior to 1.4.3 are vulnerable to Cross-Site Scripting. The package fails to sanitize input from the clipboard, allowing attackers to execute arbitrary JavaScript in the victim's browser.

Recommendation

Upgrade to version 1.4.3 or later.

Database specific
{
    "cwe_ids":  [
        "CWE-79"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-08-31T18:43:01Z",
    "nvd_published_at":  null,
    "severity":  "MODERATE"
}
References

Affected packages

npm / diagram-js-direct-editing

Package

Name
diagram-js-direct-editing
View open source insights on deps.dev
Purl
pkg:npm/diagram-js-direct-editing

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.4.3

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-j8r2-2x94-2q67/GHSA-j8r2-2x94-2q67.json"