Live threats

All CVEs / Jgraph

CVE-2022-40440Jgraph Mxgraph

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.7%
probability of exploitation in 30 days · percentile 48
Auth required
No
Published
Oct 12, 2022
Updated
Jul 9, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Mxgraph.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm mxgraph ≤ 4.2.2 no fixed version —

Per OSV / GitHub Advisories (GHSA-j4rv-pr9g-q8jv). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
jgraphmxgraph4.2.2

Official sources

References

Links published by the sources. Open them with care.