{"id":"GHSA-9w8x-5hv5-r6gw","summary":"Cross Site Scripting in usememos/memos","details":"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.","aliases":["CVE-2022-25978","GO-2023-1566"],"modified":"2025-03-19T15:28:31Z","published":"2023-02-15T06:30:26Z","database_specific":{"cwe_ids":["CWE-79"],"github_reviewed_at":"2023-02-15T18:16:31Z","github_reviewed":true,"nvd_published_at":"2023-02-15T05:15:00Z","severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25978"},{"type":"WEB","url":"https://github.com/usememos/memos/issues/1026"},{"type":"WEB","url":"https://github.com/usememos/memos/commit/b11d2130a084385eb65c3761a3c841ebe9f81ae8"},{"type":"WEB","url":"https://pkg.go.dev/vuln/GO-2023-1566"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUSEMEMOSMEMOSSERVER-3319070"},{"type":"PACKAGE","url":"github.com/usememos/memos"}],"affected":[{"package":{"name":"github.com/usememos/memos","ecosystem":"Go","purl":"pkg:golang/github.com/usememos/memos"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.10.4-0.20230211093429-b11d2130a084"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/02/GHSA-9w8x-5hv5-r6gw/GHSA-9w8x-5hv5-r6gw.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}