{"cve":"CVE-2022-25978","nvd":{"published":"2023-02-15T05:15:11.540","modified":"2026-06-17T04:34:32.803","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1},"cwes":["CWE-79"],"references":["https://github.com/usememos/memos/commit/b11d2130a084385eb65c3761a3c841ebe9f81ae8","https://github.com/usememos/memos/issues/1026","https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUSEMEMOSMEMOSSERVER-3319070","https://github.com/usememos/memos/commit/b11d2130a084385eb65c3761a3c841ebe9f81ae8","https://github.com/usememos/memos/issues/1026"],"products":["usememos:memos"],"source":"nvd","synced_at":"2026-10-19T21:37:38.595364862+00:00"},"epss":{"cve":"CVE-2022-25978","score":0.00534,"percentile":0.451,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-9w8x-5hv5-r6gw","url":"https://osv.dev/vulnerability/GHSA-9w8x-5hv5-r6gw","summary":"Cross Site Scripting in usememos/memos","modified":"2025-03-19T15:28:31Z","packages":[{"ecosystem":"Go","name":"github.com/usememos/memos","purl":"pkg:golang/github.com/usememos/memos","ranges":["<0.10.4-0.20230211093429-b11d2130a084"],"fixed":["0.10.4-0.20230211093429-b11d2130a084"]}]},{"id":"GO-2023-1566","url":"https://osv.dev/vulnerability/GO-2023-1566","summary":"Cross site scripting in github.com/usememos/memos","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"github.com/usememos/memos","purl":"pkg:golang/github.com/usememos/memos","ranges":["<0.10.4-0.20230211093429-b11d2130a084"],"fixed":["0.10.4-0.20230211093429-b11d2130a084"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}