{"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-08-12T03:51:12.315227560Z","published":"2023-02-15T05:00:01.227Z","database_specific":{"cna_assigner":"snyk","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25978.json","unresolved_ranges":[{"extracted_events":[{"fixed":"*"}],"source":"AFFECTED_FIELD"}]},"references":[{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUSEMEMOSMEMOSSERVER-3319070"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25978.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25978"},{"type":"REPORT","url":"https://github.com/usememos/memos/issues/1026"},{"type":"FIX","url":"https://github.com/usememos/memos/commit/b11d2130a084385eb65c3761a3c841ebe9f81ae8"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/usememos/memos","events":[{"introduced":"0"},{"fixed":"b11d2130a084385eb65c3761a3c841ebe9f81ae8"}],"database_specific":{"source":"REFERENCES"}}],"versions":["v0.10.3","v0.10.2","v0.9.1","v0.8.3","v0.8.2","v0.8.1","v0.8.0","v0.7.3","v0.7.2","v0.7.1","v0.7.0","v0.6.1","v0.6.0","v0.5.0","v0.4.3","v0.4.2","v0.4.1","v0.4.0","v0.1.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-25978.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P"}]}