{"id":"CVE-2022-4690","aliases":["EUVD-2022-7598","GHSA-c8jh-vcjh-fx2w","GO-2022-1189"],"status":"published","title":"Cross-site Scripting (XSS) - Stored in usememos/memos","description":"Cross-site Scripting (XSS) - Stored in GitHub repository usememos/memos prior to 0.9.0.","severity":{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00642,"percentile":0.51093,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2022-12-23T00:00:00Z","modified":"2026-10-28T02:30:47Z","fixes":[{"ecosystem":"Go","package":"github.com/usememos/memos","fixed_in":["0.9.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/usememos/memos","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.9.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/usememos/memos","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.9.0"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/usememos/memos","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.9.0"}]}]}],"products":[{"vendor":"usememos","product":"memos"},{"vendor":"usememos","product":"usememos/memos"}],"references":[{"url":"https://huntr.dev/bounties/7e1be91d-3b13-4300-8af2-9bd9665ec335","tags":["x_transferred","Exploit","Patch","Third Party Advisory","web"]},{"url":"https://github.com/usememos/memos/commit/c07b4a57caa89905e54b800f4d8fb720bbf5bf82","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4690","tags":["advisory"]},{"url":"https://github.com/usememos/memos/pull/833","tags":["web","fix"]},{"url":"https://github.com/usememos/memos/commit/65cc19c12efa392f792f6bb154b4838547e0af5e","tags":["web","fix"]},{"url":"https://github.com/advisories/GHSA-c8jh-vcjh-fx2w","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/4xxx/CVE-2022-4690.json","tags":["advisory"]},{"url":"https://github.com/usememos/memos","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2022-4690","title":"Cross-site Scripting (XSS) - Stored in usememos/memos","description":"Cross-site Scripting (XSS) - Stored in GitHub repository usememos/memos prior to 0.9.0.","status":"published","published":"2022-12-23T00:00:00Z","modified":"2025-04-10T18:07:09.93Z","cvss":[{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","level":"high","assessor":"cna"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:37.932195Z"}],"euvd":[{"id":"EUVD-2022-7598","description":"Cross-site Scripting (XSS) - Stored in GitHub repository usememos/memos prior to 0.9.0.","status":"published","published":"2022-12-23T00:00:00Z","modified":"2025-04-10T18:07:09Z","cvss":[{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"updated_at":"2026-11-02T20:52:35.819125Z"}],"ghsa":[{"id":"GHSA-c8jh-vcjh-fx2w","title":"usememos/memos vulnerable to stored cross-site scripting (XSS)","description":"usememos/memos is an open-source, self-hosted memo hub with knowledge management and socialization. Memos prior to 0.9.0 has a feature to upload file and display it, and by uploading a crafted SVG file, an attacker could perform a stored cross-site scripting attack with the image direct link. This was patched in version 0.9.0.","status":"published","published":"2022-12-23T12:30:25Z","modified":"2023-02-02T05:07:18Z","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"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:41.247728Z"}],"nvd":[{"id":"CVE-2022-4690","description":"Cross-site Scripting (XSS) - Stored in GitHub repository usememos/memos prior to 0.9.0.","status":"published","published":"2022-12-23T12:15:12.463Z","modified":"2026-06-17T05:21:34.357Z","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":"primary"},{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:34.388163Z"}],"osv":[{"id":"CVE-2022-4690","title":"Cross-site Scripting (XSS) - Stored in usememos/memos","description":"Cross-site Scripting (XSS) - Stored in GitHub repository usememos/memos prior to 0.9.0.","status":"published","published":"2022-12-23T00:00:00Z","modified":"2026-10-28T02:30:47.451953115Z","cvss":[{"version":"3.0","score":7.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:27.481647Z"},{"id":"GHSA-c8jh-vcjh-fx2w","title":"usememos/memos vulnerable to stored cross-site scripting (XSS)","description":"usememos/memos is an open-source, self-hosted memo hub with knowledge management and socialization. Memos prior to 0.9.0 has a feature to upload file and display it, and by uploading a crafted SVG file, an attacker could perform a stored cross-site scripting attack with the image direct link. This was patched in version 0.9.0.","status":"published","published":"2022-12-23T12:30:25Z","modified":"2024-08-21T16:28:36.336031Z","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"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:44.927642Z"},{"id":"GO-2022-1189","title":"usememos/memos vulnerable to stored cross-site scripting (XSS) in github.com/usememos/memos","description":"usememos/memos vulnerable to stored cross-site scripting (XSS) in github.com/usememos/memos","status":"published","published":"2024-08-21T16:03:59Z","modified":"2026-03-03T04:52:49.8807Z","updated_at":"2026-11-02T15:47:00.918515Z"}]}}
