{"id":"GHSA-j4rv-pr9g-q8jv","summary":"mxGraph vulnerable to cross-site scripting in setTooltips function","details":"mxGraph v4.2.2 was discovered to contain a cross-site scripting (XSS) vulnerability via the `setTooltips()` function.","aliases":["CVE-2022-40440"],"modified":"2023-11-08T04:10:23.954738Z","published":"2022-10-12T12:00:19Z","database_specific":{"nvd_published_at":"2022-10-12T00:15:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2023-10-19T19:07:03Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40440"},{"type":"WEB","url":"https://github.com/SxB64/mxgraph-xss-vul/wiki"},{"type":"PACKAGE","url":"https://github.com/jgraph/mxgraph"}],"affected":[{"package":{"name":"mxgraph","ecosystem":"npm","purl":"pkg:npm/mxgraph"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"4.2.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/10/GHSA-j4rv-pr9g-q8jv/GHSA-j4rv-pr9g-q8jv.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}