{"id":"CVE-2022-25978","published":"2023-02-15T05:00:01Z","modified":"2025-03-18T15:45:00Z","title":"All versions of the package github.com/usememos/memos/server are vulnerable to Cross-site Scripting (XSS) due to…","vendor":null,"product":null,"tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00534,"percentile":0.45991,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUSEMEMOSMEMOSSERVER-3319070","tags":[]},{"url":"https://github.com/usememos/memos/commit/b11d2130a084385eb65c3761a3c841ebe9f81ae8","tags":[]},{"url":"https://github.com/usememos/memos/issues/1026","tags":[]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":9.2},{"name":"CVSS severity","points":3.78}]},"affectedVersions":[{"vendor":"n/a","product":"github.com/usememos/memos/server","versions":["all versions"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-18T15:44:54.764283Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/usememos/memos","vulnerableRanges":["<0.10.4-0.20230211093429-b11d2130a084"],"patched":["0.10.4-0.20230211093429-b11d2130a084"],"from":["GHSA-9w8x-5hv5-r6gw","GO-2023-1566"],"provenance":"source"}],"summary":{"text":"The flaw is a cross-site scripting (XSS) weakness in the github.com/usememos/memos/server package, caused by insufficient checks on external resources that allow links beginning with a javascript: scheme to be introduced. An attacker can exploit it over the network with low complexity and no privileges, but a user must interact with the crafted link for the script to run.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:11Z"},"euvd":{"id":"EUVD-2023-0682","exploited":false,"provenance":"source"}}