CVE-2023-0741CWE-79

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

High · published February 8, 2023

CVSS v3.0
8.0
EPSS
1%
Percentile
58.4
In the wild
Unconfirmed
What it is

⚡ This is a classic case of Cross-site Scripting (XSS) lurking in the DOM of answerdev/answer before version 1.0.4 - and it could let attackers slip in sneaky scripts! Think of it like a restaurant where the staff doesn't check the ingredients before serving a dish — if an untrusted source sends in a secret sauce, who knows what toxic flavors could end up on your plate? An attacker could exploit this vulnerability to inject malicious scripts into user sessions, potentially stealing sensitive data or hijacking user interactions. This could lead to absolutely devastating consequences for your users and your reputation, so it’s not just a minor glitch!

Put simply

Think of it like a restaurant where the staff doesn't check the ingredients before serving a dish — if an untrusted source sends in a secret sauce, who knows what toxic flavors could end up on your plate? This vulnerability allows attackers to manipulate the DOM by injecting malicious JavaScript, exploiting a failure to properly validate user input in the application. It can occur when the application processes untrusted data without adequate sanitization.

What to do

An attacker could exploit this vulnerability to inject malicious scripts into user sessions, potentially stealing sensitive data or hijacking user interactions. This could lead to absolutely devastating consequences for your users and your reputation, so it’s not just a minor glitch! Patch to version 1.0.4 or later to safeguard against this XSS vulnerability. In addition, implement input validation and output encoding to ensure that all user input is correctly sanitized when displayed. You've got this! Follow these steps to secure your application and keep your users safe. 🛡️

The record
Technical detail
CVSS v3.0
8.0 · HIGH
Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00871 · 58.4th 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) - DOM in answerdev/answer
    cvelistv5