Security mailing lists by PureSourceCode

GHSA-8fw4-xh83-3j6q

MEDIUM

Cross-Site Scripting in diagram-js

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.

Published
11 Sep 2020
Last modified
28 Sep 2021
Weakness
CWE-79
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm diagram-js < 2.6.2 2.6.2
OSV npm diagram-js >= 3.0.0, < 3.3.1 3.3.1

References

History

  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 11 Sep 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.