{"id":"CVE-2022-25978","details":"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","aliases":["GHSA-9w8x-5hv5-r6gw","GO-2023-1566"],"modified":"2026-03-14T14:59:34.531572Z","published":"2023-02-15T05:15:11.540Z","references":[{"type":"FIX","url":"https://github.com/usememos/memos/commit/b11d2130a084385eb65c3761a3c841ebe9f81ae8"},{"type":"FIX","url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUSEMEMOSMEMOSSERVER-3319070"},{"type":"EVIDENCE","url":"https://github.com/usememos/memos/issues/1026"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/usememos/memos","events":[{"introduced":"0"},{"fixed":"b11d2130a084385eb65c3761a3c841ebe9f81ae8"}]},{"type":"GIT","repo":"https://github.com/usememos/memos","events":[{"introduced":"0"},{"fixed":"b11d2130a084385eb65c3761a3c841ebe9f81ae8"}]}],"versions":["v0.1.2","v0.10.2","v0.10.3","v0.4.0","v0.4.1","v0.4.2","v0.4.3","v0.5.0","v0.6.0","v0.6.1","v0.7.0","v0.7.1","v0.7.2","v0.7.3","v0.8.0","v0.8.1","v0.8.2","v0.8.3","v0.9.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25978.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}