{"cve":"CVE-2022-4840","nvd":{"published":"2022-12-29T17:15:21.363","modified":"2026-06-17T05:21:59.927","status":"Modified","description":"Cross-site Scripting (XSS) - Stored in GitHub repository usememos/memos prior to 0.9.1.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"references":["https://github.com/usememos/memos/commit/64e5c343c5f74b0abdf3ac0d21a6139daea58cf8","https://huntr.dev/bounties/b42aa2e9-c783-464c-915c-a80cb464ee01","https://github.com/usememos/memos/commit/64e5c343c5f74b0abdf3ac0d21a6139daea58cf8","https://huntr.dev/bounties/b42aa2e9-c783-464c-915c-a80cb464ee01"],"products":["usememos:memos"],"source":"nvd","synced_at":"2026-10-19T21:37:31.370122805+00:00"},"epss":{"cve":"CVE-2022-4840","score":0.00696,"percentile":0.53039,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-pwhr-p68w-296x","url":"https://osv.dev/vulnerability/GHSA-pwhr-p68w-296x","summary":"usememos/memos vulnerable to stored Cross-site Scripting","modified":"2023-11-08T04:11:03.369908Z","packages":[{"ecosystem":"Go","name":"github.com/usememos/memos","purl":"pkg:golang/github.com/usememos/memos","ranges":["<0.9.1"],"fixed":["0.9.1"]}]}],"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."]}