{"id":"GHSA-9hfw-cvf4-5x25","revision":"8f7b7c17c31747ddb1426fa787cf9222","records":[{"revision":"8f7b7c17c31747ddb1426fa787cf9222","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-9hfw-cvf4-5x25","aliases":["CVE-2022-25037"],"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.","state":0,"publishedAt":"2024-05-31T18:31:14+00:00","modifiedAt":"2026-09-10T03:50:13.6709972+00:00","affected":[{"ecosystem":"npm","name":"@wangeditor/editor","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"4.7.12"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2022-25037","https://github.com/wangeditor-team/wangEditor/issues/3870","https://github.com/wangeditor-team/wangEditor/issues/3872","https://github.com/wangeditor-team/wangEditor/commit/6257a2e166346913c34ac5cfb31b6a46e9544c5a","https://gist.github.com/Mdxjj/5cf0a31e8abf24ed688ceb5b3543516d","https://github.com/wangeditor-team/wangEditor"],"sourceUrl":"https://github.com/advisories/GHSA-9hfw-cvf4-5x25","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-9hfw-cvf4-5x25","identifiers":["GHSA-9hfw-cvf4-5x25","CVE-2022-25037"]},"retained":false,"historicalAffected":[]}],"coverage":[]}