{"id":"GHSA-pwhr-p68w-296x","summary":"usememos/memos vulnerable to stored Cross-site Scripting","details":"Cross-site Scripting (XSS) - Stored in GitHub repository usememos/memos 0.9.0 and prior.","aliases":["CVE-2022-4840"],"modified":"2023-11-01T05:00:34.111991Z","published":"2022-12-29T18:30:24Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2022-12-30T22:53:37Z","nvd_published_at":"2022-12-29T17:15:00Z","cwe_ids":["CWE-79"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4840"},{"type":"WEB","url":"https://github.com/usememos/memos/commit/64e5c343c5f74b0abdf3ac0d21a6139daea58cf8"},{"type":"PACKAGE","url":"https://github.com/usememos/memos"},{"type":"WEB","url":"https://huntr.dev/bounties/b42aa2e9-c783-464c-915c-a80cb464ee01"}],"affected":[{"package":{"name":"github.com/usememos/memos","ecosystem":"Go","purl":"pkg:golang/github.com/usememos/memos"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.9.1"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 0.9.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/12/GHSA-pwhr-p68w-296x/GHSA-pwhr-p68w-296x.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}]}