Every CVE Search/ Get API key

CVE-2022-40440

mxGraph vulnerable to cross-site scripting in setTooltips function

6.1 Medium

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
None

Exploit likelihood

0.71%Down 0.2 points since Oct 12, 2022
90%50%10%1%

What each source reports

NVD Score used 6.1

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

Record
CVE-2022-40440
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
CVE List No score

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

Record
CVE-2022-40440
Updated
2026-11-02
EUVDEUVD-2022-7112 No score

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

Record
EUVD-2022-7112
Updated
2026-11-02
GitHub AdvisoriesGHSA-j4rv-pr9g-q8jv 6.1

mxGraph vulnerable to cross-site scripting in setTooltips function

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

Record
GHSA-j4rv-pr9g-q8jv
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSVGHSA-j4rv-pr9g-q8jv 6.1

mxGraph vulnerable to cross-site scripting in setTooltips function

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

Record
GHSA-j4rv-pr9g-q8jv
CVSS 3.1
6.1 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Updated
2026-11-02
OSV No score

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

Record
CVE-2022-40440
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
mxgraph
npm
through 4.2.2 None known

History

History
RecordedChangedSources
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-40440 is a medium vulnerability (CVSS 6.1) in Jgraph Mxgraph, published October 11, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.71%, the 53rd percentile. No source names a fixed version.

References

MoveEnter Open