{"id":"CVE-2022-25978","aliases":["EUVD-2023-0682","GHSA-9w8x-5hv5-r6gw","GO-2023-1566"],"status":"published","title":"Cross Site Scripting in usememos/memos","description":"All versions of the package github.com/usememos/memos/server are vulnerable to Cross-site Scripting (XSS) due to insufficient checks on external resources, which allows malicious actors to introduce links starting with a javascript: scheme.","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00534,"percentile":0.45412,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-79"],"published":"2023-02-15T05:00:01Z","modified":"2026-10-28T02:31:00Z","fixes":[{"ecosystem":"Go","package":"github.com/usememos/memos","fixed_in":["0.10.4-0.20230211093429-b11d2130a084"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Go","package":"github.com/usememos/memos","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.10.4-0.20230211093429-b11d2130a084"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/usememos/memos","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.10.4-0.20230211093429-b11d2130a084"}]}]},{"source":"osv","ecosystem":"Go","package":"github.com/usememos/memos","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.10.4-0.20230211093429-b11d2130a084"}]}]}],"products":[{"vendor":"usememos","product":"memos"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUSEMEMOSMEMOSSERVER-3319070","tags":["x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","web"]},{"url":"https://github.com/usememos/memos/commit/b11d2130a084385eb65c3761a3c841ebe9f81ae8","tags":["x_transferred","Patch","fix","web"]},{"url":"https://github.com/usememos/memos/issues/1026","tags":["x_transferred","Exploit","report","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25978","tags":["advisory"]},{"url":"https://pkg.go.dev/vuln/GO-2023-1566","tags":["web"]},{"url":"https://github.com/advisories/GHSA-9w8x-5hv5-r6gw"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25978.json","tags":["advisory"]},{"url":"github.com/usememos/memos","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-25978","description":"All versions of the package github.com/usememos/memos/server are vulnerable to Cross-site Scripting (XSS) due to insufficient checks on external resources, which allows malicious actors to introduce links starting with a javascript: scheme. \r\r","status":"published","published":"2023-02-15T05:00:01.227Z","modified":"2025-03-18T15:45:00.654Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","level":"medium","assessor":"cna"}],"cwes":["CWE-79","CWE-79"],"updated_at":"2026-11-02T14:34:28.374916Z"}],"euvd":[{"id":"EUVD-2023-0682","description":"All versions of the package github.com/usememos/memos/server are vulnerable to Cross-site Scripting (XSS) due to insufficient checks on external resources, which allows malicious actors to introduce links starting with a javascript: scheme. \r\r","status":"published","published":"2023-02-15T05:00:01Z","modified":"2025-03-18T15:45:00Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","level":"medium"}],"updated_at":"2026-11-02T20:53:00.464245Z"}],"ghsa":[{"id":"GHSA-9w8x-5hv5-r6gw","title":"Cross Site Scripting in usememos/memos","description":"All versions of the package github.com/usememos/memos/server prior to 0.11.0 are vulnerable to Cross-site Scripting (XSS) due to insufficient checks on external resources, which allows malicious actors to introduce links starting with a javascript: scheme.","status":"published","published":"2023-02-15T06:30:26Z","modified":"2023-12-14T21:22:45Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:37:26.012325Z"}],"nvd":[{"id":"CVE-2022-25978","description":"All versions of the package github.com/usememos/memos/server are vulnerable to Cross-site Scripting (XSS) due to insufficient checks on external resources, which allows malicious actors to introduce links starting with a javascript: scheme. \r\r","status":"published","published":"2023-02-15T05:15:11.54Z","modified":"2026-06-17T04:34:32.803Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:36.026349Z"}],"osv":[{"id":"CVE-2022-25978","description":"All versions of the package github.com/usememos/memos/server are vulnerable to Cross-site Scripting (XSS) due to insufficient checks on external resources, which allows malicious actors to introduce links starting with a javascript: scheme. \r\r","status":"published","published":"2023-02-15T05:00:01.227Z","modified":"2026-10-28T02:31:00.116166588Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:44:24.758293Z"},{"id":"GHSA-9w8x-5hv5-r6gw","title":"Cross Site Scripting in usememos/memos","description":"All versions of the package github.com/usememos/memos/server prior to 0.11.0 are vulnerable to Cross-site Scripting (XSS) due to insufficient checks on external resources, which allows malicious actors to introduce links starting with a javascript: scheme.","status":"published","published":"2023-02-15T06:30:26Z","modified":"2025-03-19T15:28:31Z","cvss":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:44.225359Z"},{"id":"GO-2023-1566","title":"Cross site scripting in github.com/usememos/memos","description":"A malicious actor can introduce links starting with a \"javascript:\" scheme due to insufficient checks on external resources. This can be used as a part of Cross-site Scripting (XSS) attack.","status":"published","published":"2023-02-15T23:55:24Z","modified":"2024-05-20T16:03:47Z","updated_at":"2026-11-02T15:47:01.185262Z"}]}}
