Vulnerabilities/

Cross-Site Scripting in diagram-js

Severity:
Medium

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

Update the diagram-js package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
diagram-js
Anything's wrong? Let us know Last updated on October 03, 2023

This issue is available in SmartScanner Professional

See Pricing