Skip to content
Fencer Vulns
high 7.6

CVE-2022-4840 json

Cross-site Scripting (XSS) - Stored in usememos/memos

published 2022-12-29 3 y ago modified 2026-06-17 4 mo ago also GHSA-pwhr-p68w-296x , EUVD-2022-7710

cvss
7.6
version 3.0, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.7%
EPSS 0.7% chance of exploitation in 30 days, percentile 53%
public exploits
0
none known

Summary

Cross-site Scripting (XSS) - Stored in GitHub repository usememos/memos prior to 0.9.1.

Patch / fix

  • go github.com/usememos/memos 0.9.1
  • usememos usememos/memos 0.9.1

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
total
Assessed
19 mo ago

Exploit prediction

0.70% chance of exploitation in the next 30 days, higher than 53% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • huntr.dev https://huntr.dev/bounties/b42aa2e9-c783-464c-915c-a80cb464ee01 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.0 7.6 CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H
NVD 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
GitHub 3.1 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected packages

ecosystem package affected fixed in
go github.com/usememos/memos
<0.9.1
0.9.1

Affected products

  • usememos usememos/memos

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.