What the vulnerability does
01Description
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in sinatrateam Sinatra allows Stored XSS.This issue affects Sinatra: from n/a through 1.3.
CVSS base score
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L
What the vulnerability does
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in sinatrateam Sinatra allows Stored XSS.This issue affects Sinatra: from n/a through 1.3.
Explanation of Vulnerability in Simple Terms
Sinatra versions up to 1.3 contain a cross-site scripting (XSS) vulnerability that allows an authenticated attacker to inject malicious scripts. The vulnerability requires user interaction—typically clicking a crafted link—and can affect other users or the site itself. The impact is limited to reading or modifying non-sensitive data within the affected session.
What an attacker can do
Inject malicious JavaScript that runs in other users' browsers or modifies page content.
Potential impact on your site
Authenticated users could be tricked into executing attacker-controlled scripts, potentially exposing session data or modifying site content.
Conditions required to exploit
Attacker must be authenticated with low privileges; victim must click a malicious link or visit a crafted page.
Key dates
External resources
Related vulnerabilities