GHSA-8fw4-xh83-3j6q
JSON

medium

Cross-Site Scripting in diagram-js

Severity
medium rating by GitHub
Published
Last changed

Description

Versions of diagram-js prior to 3.3.1 (for 3.x) and 2.6.2 (for 2.x) are vulnerable to Cross-Site Scripting. The package fails to escape output of user-controlled input in search-pad, allowing attackers to execute arbitrary JavaScript.

Recommendation

If you are using diagram-js 3.x, upgrade to version 3.3.1. If you are using diagram-js 2.x, upgrade to version 2.6.2.

Affected

Product or packageVersionsReported by
diagram-js (npm)before 2.6.2, from 3.0.0 before 3.3.1GitHub Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-8fw4-xh83-3j6q changed 2021-09-28CC-BY-4.0