CVE-2023-0740CWE-79

Cross-site Scripting (XSS) - Stored in answerdev/answer

High · published February 8, 2023

CVSS v3.0
8.2
EPSS
1%
Percentile
53.1
In the wild
Unconfirmed
What it is

⚡ A sneaky stored XSS flaw hides in the answerdev/answer GitHub repository before version 1.0.4! This vulnerability allows attackers to inject harmful scripts easily. 🔥 Think of this like a restaurant where a customer can slip a secret ingredient into a dish, and every diner ends up with the same surprise flavor bomb! If left unchecked, this could lead to some chaotic dining experiences. An attacker could exploit this vulnerability to execute malicious scripts in the context of any user who views affected content. This means they could steal session cookies, hijack accounts, or deface your site, leading to severe reputational damage and user mistrust.

Put simply

Think of this like a restaurant where a customer can slip a secret ingredient into a dish, and every diner ends up with the same surprise flavor bomb! If left unchecked, this could lead to some chaotic dining experiences. This stored XSS vulnerability allows attackers to inject scripts that will be stored on the server and executed in users' browsers when they access the affected content. Because it is stored, the malicious script remains persistent until removed, affecting all users who view that content.

What to do

An attacker could exploit this vulnerability to execute malicious scripts in the context of any user who views affected content. This means they could steal session cookies, hijack accounts, or deface your site, leading to severe reputational damage and user mistrust. To protect your application, upgrade to version 1.0.4 or later of the answerdev/answer repository immediately. Additionally, implement input validation and output encoding to prevent similar attacks in the future. You've got this! Patch up, and your application will be secure in no time! 🛡️

The record
Technical detail
CVSS v3.0
8.2 · HIGH
Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00714 · 53.1th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2023-02-08T00:00Z
EPSS history
Timeline
  • 08 FEB 00:00Z
    Cross-site Scripting (XSS) - Stored in answerdev/answer
    cvelistv5