Skip to content

mxGraph vulnerable to cross-site scripting in setTooltips function

Moderate severity GitHub Reviewed Published Oct 12, 2022 to the GitHub Advisory Database • Updated Oct 19, 2023

Package

npm mxgraph (npm)

Affected versions

<= 4.2.2

Patched versions

None

Description

mxGraph v4.2.2 was discovered to contain a cross-site scripting (XSS) vulnerability via the setTooltips() function.

References

Published by the National Vulnerability Database Oct 12, 2022
Published to the GitHub Advisory Database Oct 12, 2022
Last updated Oct 19, 2023
Reviewed Oct 19, 2023

Severity

Moderate
6.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2022-40440

GHSA ID

GHSA-j4rv-pr9g-q8jv

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.