CVE-2022-4866CWE-79

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

Critical · published December 31, 2022

CVSS v3.0
9.8
EPSS
1%
Percentile
63.1
In the wild
Unconfirmed
What it is

🚨 A critical stored XSS vulnerability hides in the memos repository, ready to turn your notes into an attack vector! 🔥 Think of this XSS flaw like a sneaky chef who changes a recipe card to include a harmful ingredient — once served, it could lead to some serious consequences without anyone noticing until it’s too late. An attacker could exploit this vulnerability to execute arbitrary scripts in the context of a victim's browser. This means they could hijack user accounts, steal sensitive information, or inject malicious content, wreaking havoc on your users and your reputation. That's absolutely devastating!

Put simply

Think of this XSS flaw like a sneaky chef who changes a recipe card to include a harmful ingredient — once served, it could lead to some serious consequences without anyone noticing until it’s too late. This stored Cross-Site Scripting (XSS) vulnerability in the memos application allows attackers to inject malicious scripts into web pages viewed by other users. When the script runs in a victim's browser, it can perform any actions the user can, all without their knowledge.

What to do

An attacker could exploit this vulnerability to execute arbitrary scripts in the context of a victim's browser. This means they could hijack user accounts, steal sensitive information, or inject malicious content, wreaking havoc on your users and your reputation. That's absolutely devastating! Upgrade to version 0.9.1 or later of the memos application immediately to close this vulnerability. Additionally, implement proper input validation and output encoding to prevent similar issues in the future. You've got this! With these steps, you'll have your application protected and your users safe in no time! 🛡️

The record
Technical detail
CVSS v3.0
9.8 · CRITICAL
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.01020 · 63.1th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2022-12-31T00:00Z
EPSS history
Timeline
  • 31 DEC 00:00Z
    Cross-site Scripting (XSS) - Stored in usememos/memos
    cvelistv5