CVE-2022-40440
MEDIUM 6.1CVSS 3.1mxGraph 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.
- Published
- 12 Oct 2022
- Last modified
- 9 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-j4rv-pr9g-q8jv
- Sources
- NVDJSONOSV GHSA-j4rv-pr9g-q8jvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jgraph | mxgraphcpe:2.3:a:jgraph:mxgraph:4.2.2:*:*:*:*:*:*:* |
= 4.2.2 | |
| OSV | npm | mxgraph | <= 4.2.2 |
References
- https://github.com/SxB64/mxgraph-xss-vul/wiki · Exploit, Third Party Advisory, WEB
- https://github.com/jgraph/mxgraph · Product, PACKAGE
- https://nvd.nist.gov/vuln/detail/CVE-2022-40440 · ADVISORY
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 12 Oct 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 12 Oct 2022)