{"id":"CVE-2022-25037","aliases":["EUVD-2024-1556","GHSA-9hfw-cvf4-5x25"],"status":"published","title":"wangEditor was discovered to contain a cross-site scripting (XSS) vulnerability via the image upload function","description":"An issue in wanEditor v4.7.11 and fixed in v.4.7.12 and v.5 was discovered to contain a cross-site scripting (XSS) vulnerability via the image upload function.","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-10","score":0.00268,"percentile":0.19038,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2024-05-31T16:05:30Z","modified":"2026-09-10T03:50:13Z","fixes":[{"ecosystem":"npm","package":"@wangeditor/editor","fixed_in":["4.7.12"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@wangeditor/editor","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"4.7.11"},{"fixed":"4.7.12"}]}]},{"source":"osv","ecosystem":"npm","package":"@wangeditor/editor","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.7.12"}]}]}],"products":[{"vendor":"wangeditor","product":"wangeditor"}],"references":[{"url":"https://github.com/wangeditor-team/wangEditor/issues/3870","tags":["x_transferred","web"]},{"url":"https://gist.github.com/Mdxjj/5cf0a31e8abf24ed688ceb5b3543516d","tags":["x_transferred","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25037","tags":["advisory"]},{"url":"https://github.com/wangeditor-team/wangEditor/issues/3872","tags":["web"]},{"url":"https://github.com/wangeditor-team/wangEditor/commit/6257a2e166346913c34ac5cfb31b6a46e9544c5a","tags":["web"]},{"url":"https://github.com/advisories/GHSA-9hfw-cvf4-5x25"},{"url":"https://github.com/wangeditor-team/wangEditor","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-25037","description":"An issue in wanEditor v4.7.11 and fixed in v.4.7.12 and v.5 was discovered to contain a cross-site scripting (XSS) vulnerability via the image upload function.","status":"published","published":"2024-05-31T16:05:30.67Z","modified":"2025-02-13T15:46:21.09Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:28.374916Z"}],"euvd":[{"id":"EUVD-2024-1556","description":"An issue in wanEditor v4.7.11 and fixed in v.4.7.12 and v.5 was discovered to contain a cross-site scripting (XSS) vulnerability via the image upload function.","status":"published","published":"2024-05-31T16:05:30Z","modified":"2025-02-13T15:46:21Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T00:03:55.403392Z"}],"ghsa":[{"id":"GHSA-9hfw-cvf4-5x25","title":"wangEditor was discovered to contain a cross-site scripting (XSS) vulnerability via the image upload function","description":"There is a cross-site scripting (XSS) issue in wangEditor via the image upload function in version 4.7.11. This issue has been fixed in version 4.7.12.","status":"published","published":"2024-05-31T18:31:14Z","modified":"2026-06-11T14:15:45Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T14:40:26.12116Z"}],"nvd":[{"id":"CVE-2022-25037","description":"An issue in wanEditor v4.7.11 and fixed in v.4.7.12 and v.5 was discovered to contain a cross-site scripting (XSS) vulnerability via the image upload function.","status":"published","published":"2024-05-31T16:15:09.133Z","modified":"2026-06-17T04:32:57.75Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:40.49892Z"}],"osv":[{"id":"GHSA-9hfw-cvf4-5x25","title":"wangEditor was discovered to contain a cross-site scripting (XSS) vulnerability via the image upload function","description":"There is a cross-site scripting (XSS) issue in wangEditor via the image upload function in version 4.7.11. This issue has been fixed in version 4.7.12.","status":"published","published":"2024-05-31T18:31:14Z","modified":"2026-09-10T03:50:13.670997199Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:46:43.875515Z"}]}}
