{"id":"CVE-2022-25978","aliases":["CVE-2022-25978","GHSA-9w8x-5hv5-r6gw","GO-2023-1566"],"related":[],"kind":"vulnerability","state":"published","title":"Cross Site Scripting in usememos/memos","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"en","text":"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.","format":"markdown","source":"go"},{"lang":"es","text":"Todas las versiones del paquete github.com/usememos/memos/server son vulnerables a Cross-site Scripting (XSS) debido a comprobaciones insuficientes de recursos externos, lo que permite a actores malintencionados introducir enlaces que comienzan con un javascript:scheme.","source":"nvd"}],"published":"2023-02-15T05:00:01.227Z","modified":"2026-06-17T04:34:32.803Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"*","status":"affected"}],"product":"github.com/usememos/memos/server","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.10.4-0.20230211093429-b11d2130a084"}],"ecosystem":"Go","package":"github.com/usememos/memos","purl":"pkg:golang/github.com/usememos/memos","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.10.4-0.20230211093429-b11d2130a084"}],"ecosystem":"Go","package":"github.com/usememos/memos","purl":"pkg:golang/github.com/usememos/memos","source":"go"},{"ranges":[],"vendor":"usememos","product":"memos","cpe":"cpe:2.3:a:usememos:memos:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUSEMEMOSMEMOSSERVER-3319070","tags":["exploit","issue-tracking","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/usememos/memos/commit/b11d2130a084385eb65c3761a3c841ebe9f81ae8","tags":["fix","patch","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/usememos/memos/issues/1026","tags":["exploit","report","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25978","tags":["advisory"],"sources":["ghsa"]},{"url":"https://pkg.go.dev/vuln/GO-2023-1566","tags":["web"],"sources":["ghsa"]}],"credits":["Kahla"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-03-18T15:44:54.764Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25978","url":"https://www.cve.org/CVERecord?id=CVE-2022-25978","licence":"CVE Terms of Use","modified":"2025-03-18T15:45:00.654Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9w8x-5hv5-r6gw","url":"https://github.com/advisories/GHSA-9w8x-5hv5-r6gw","licence":"CC-BY-4.0","modified":"2025-03-19T15:28:31.000Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2023-1566","url":"https://pkg.go.dev/vuln/GO-2023-1566","licence":"CC-BY-4.0","modified":"2024-05-20T16:03:47.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25978","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25978","licence":"Public domain","modified":"2026-06-17T04:34:32.803Z"}],"updatedAt":"2026-11-25T22:58:18.654Z","epss":{"score":0.0054,"percentile":0.46846,"date":"2026-12-01T12:00:22.000Z"}}