{"id":"CVE-2022-4840","aliases":["CVE-2022-4840","GHSA-pwhr-p68w-296x"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site Scripting (XSS) - Stored in usememos/memos","summary":"Cross-site Scripting (XSS) - Stored in GitHub repository usememos/memos prior to 0.9.1.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Cross-site Scripting (XSS) - Stored in GitHub repository usememos/memos prior to 0.9.1.","source":"cvelist"},{"lang":"en","text":"Cross-site Scripting (XSS) - Stored in GitHub repository usememos/memos 0.9.0 and prior.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Cross-Site Scripting (XSS) Almacenado en el repositorio de GitHub usememos/memos anteriores a 0.9.1.","source":"nvd"}],"published":"2022-12-29T00:00:00.000Z","modified":"2026-06-17T05:21:59.927Z","severity":{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H","score":7.6,"rating":"HIGH"},"severities":[{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H","score":7.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"0.9.1","status":"affected"}],"vendor":"usememos","product":"usememos/memos","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.9.1"}],"ecosystem":"Go","package":"github.com/usememos/memos","purl":"pkg:golang/github.com/usememos/memos","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.9.1"}],"vendor":"usememos","product":"memos","cpe":"cpe:2.3:a:usememos:memos:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/usememos/memos/commit/64e5c343c5f74b0abdf3ac0d21a6139daea58cf8","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://huntr.dev/bounties/b42aa2e9-c783-464c-915c-a80cb464ee01","tags":["exploit","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4840","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/usememos/memos","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"@huntrdev","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2025-04-09T15:04:48.564Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-4840","url":"https://www.cve.org/CVERecord?id=CVE-2022-4840","licence":"CVE Terms of Use","modified":"2025-04-09T15:47:49.561Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pwhr-p68w-296x","url":"https://github.com/advisories/GHSA-pwhr-p68w-296x","licence":"CC-BY-4.0","modified":"2023-11-08T04:11:03.369Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-4840","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4840","licence":"Public domain","modified":"2026-06-17T05:21:59.927Z"}],"updatedAt":"2026-11-25T22:58:17.926Z","epss":{"score":0.00696,"percentile":0.54266,"date":"2026-12-01T12:00:22.000Z"}}