{"id":"CVE-2022-4690","aliases":["CVE-2022-4690","GHSA-c8jh-vcjh-fx2w","GO-2022-1189"],"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.0.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Cross-site Scripting (XSS) - Stored in GitHub repository usememos/memos prior to 0.9.0.","source":"cvelist"},{"lang":"en","text":"usememos/memos is an open-source, self-hosted memo hub with knowledge management and socialization. Memos prior to 0.9.0 has a feature to upload file and display it, and by uploading a crafted SVG file, an attacker could perform a stored cross-site scripting attack with the image direct link. This was patched in version 0.9.0.","format":"markdown","source":"ghsa"},{"lang":"en","text":"usememos/memos vulnerable to stored cross-site scripting (XSS) in github.com/usememos/memos","format":"markdown","source":"go"},{"lang":"es","text":"Cross-Site Scripting (XSS): almacenado en el repositorio de GitHub usememos/memos anteriores a 0.9.0.","source":"nvd"}],"published":"2022-12-23T00:00:00.000Z","modified":"2026-06-17T05:21:34.357Z","severity":{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"@huntrdev","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N","score":7.1,"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.0","status":"affected"}],"vendor":"usememos","product":"usememos/memos","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.9.0"}],"ecosystem":"Go","package":"github.com/usememos/memos","purl":"pkg:golang/github.com/usememos/memos","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.9.0"}],"ecosystem":"Go","package":"github.com/usememos/memos","purl":"pkg:golang/github.com/usememos/memos","source":"go"},{"ranges":[{"status":"affected","fixed":"0.9.0"}],"vendor":"usememos","product":"memos","cpe":"cpe:2.3:a:usememos:memos:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://huntr.dev/bounties/7e1be91d-3b13-4300-8af2-9bd9665ec335","tags":["exploit","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/usememos/memos/commit/c07b4a57caa89905e54b800f4d8fb720bbf5bf82","tags":["fix","patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4690","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/usememos/memos/pull/833","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/usememos/memos/commit/65cc19c12efa392f792f6bb154b4838547e0af5e","tags":["fix","web"],"sources":["ghsa","go"]},{"url":"https://github.com/usememos/memos","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/advisories/GHSA-c8jh-vcjh-fx2w","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"@huntrdev","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2025-04-09T18:42:05.142Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-4690","url":"https://www.cve.org/CVERecord?id=CVE-2022-4690","licence":"CVE Terms of Use","modified":"2025-04-10T18:07:09.930Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-c8jh-vcjh-fx2w","url":"https://github.com/advisories/GHSA-c8jh-vcjh-fx2w","licence":"CC-BY-4.0","modified":"2024-08-21T16:28:36.336Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2022-1189","url":"https://pkg.go.dev/vuln/GO-2022-1189","licence":"CC-BY-4.0","modified":"2026-03-03T04:52:49.880Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-4690","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4690","licence":"Public domain","modified":"2026-06-17T05:21:34.357Z"}],"updatedAt":"2026-11-25T22:58:17.835Z","epss":{"score":0.00664,"percentile":0.53033,"date":"2026-12-01T12:00:22.000Z"}}