{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-25978","id":"CVE-2022-25978","title":"Cross Site Scripting in usememos/memos","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. \r\r","descriptionLong":"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","published":"2023-02-15T05:00:01.227Z","updated":"2026-10-28T02:31:00.116166588Z","reserved":"2022-02-24T11:58:27.023Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","rating":"medium","source":"snyk"},"metrics":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","rating":"medium","source":"snyk"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","rating":"medium","source":"snyk.io"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N/E:P","rating":"medium","source":"OSV"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["github.com/usememos/memos/server"],"affectedProducts":[{"vendor":"n/a","product":"github.com/usememos/memos/server","defaultStatus":null,"versions":[{"version":"0","lessThan":"*","status":"affected","versionType":"semver"}],"platforms":[]}],"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"],"advisory":"GHSA-9w8x-5hv5-r6gw"}],"cwes":["CWE-79"],"aliases":["GHSA-9w8x-5hv5-r6gw","GO-2023-1566"],"references":[{"url":"https://security.snyk.io/vuln/SNYK-GOLANG-GITHUBCOMUSEMEMOSMEMOSSERVER-3319070","tags":["x_transferred","Exploit","Issue Tracking","Patch","Third Party Advisory","web"]},{"url":"https://github.com/usememos/memos/commit/b11d2130a084385eb65c3761a3c841ebe9f81ae8","tags":["x_transferred","Patch","fix","web"]},{"url":"https://github.com/usememos/memos/issues/1026","tags":["x_transferred","Exploit","report","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/25xxx/CVE-2022-25978.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25978","tags":["advisory"]},{"url":"https://pkg.go.dev/vuln/GO-2023-1566","tags":["web"]},{"url":"github.com/usememos/memos","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00534,"epssPercentile":0.45852,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-25978","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25978","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-25978","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9w8x-5hv5-r6gw","ok":true,"note":"GHSA-9w8x-5hv5-r6gw"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-25978","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}