CVE-2020-7741

Cross-site Scripting (XSS)

Critical · published October 6, 2020

CVSS v3.1
9.9
EPSS
1%
Percentile
73.6
In the wild
Unconfirmed
What it is

🚨 A sneaky open redirect vulnerability in hellojs can allow an attacker to inject JavaScript directly into your site! 🔥 Think of it like a restaurant that takes orders without checking the menu. If a diner says they want a dish that doesn’t exist, instead of verifying, the chef just serves whatever the diner requests — and that could be toxic! An attacker can craft a URL with malicious XSS payloads, leading to arbitrary code execution on your site. This could expose sensitive user information, compromise accounts, or even spread malware — absolutely devastating!

Put simply

Think of it like a restaurant that takes orders without checking the menu. If a diner says they want a dish that doesn’t exist, instead of verifying, the chef just serves whatever the diner requests — and that could be toxic! This vulnerability allows the `oauth_redirect` parameter from the URL to be passed directly to `location.assign()` without any validation or sanitization, making it ripe for XSS attacks.

What to do

An attacker can craft a URL with malicious XSS payloads, leading to arbitrary code execution on your site. This could expose sensitive user information, compromise accounts, or even spread malware — absolutely devastating! Upgrade hellojs to version 1.18.6 or later immediately. Make sure to implement proper validation and sanitization for incoming URL parameters to protect against XSS attacks. Don't forget to review your application for other potential vulnerabilities! You've got this! Follow these steps and secure your application like the hero you are! 🛡️

The record
Technical detail
CVSS v3.1
9.9 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:H
CVSS v4.0
Not supplied
EPSS
0.01476 · 73.6th percentile
Published
2020-10-06T14:30Z
EPSS history
Timeline
  • 06 OCT 14:30Z
    Cross-site Scripting (XSS)
    cvelistv5