CVE-2024-23724

Ghost through 5.76.0 allows stored XSS, and resultant privilege escalation in which a contributor can take over any account, via an SVG profile picture that…

published February 11, 2024

CVSS
—
EPSS
3%
Percentile
89.1
In the wild
Unconfirmed
What it is

⚠️ The ghost of XSS past is haunting version 5.76.0! This vulnerability lets contributors craft SVG profile pictures that smuggle JavaScript right into the API, potentially allowing them to take over any account! Think of it like a delivery driver who recognizes a fancy-looking package as a VIP order — they might not check the contents and end up delivering a hot mess instead. Here, the SVG file is the shiny package that carries hidden code straight into your system without so much as a glance! An attacker could gain access to any user account, leading to a full account takeover. This means they might change passwords, access sensitive information, or even wreak havoc by acting like the legitimate user — an absolutely devastating scenario for any platform!

Put simply

Think of it like a delivery driver who recognizes a fancy-looking package as a VIP order — they might not check the contents and end up delivering a hot mess instead. Here, the SVG file is the shiny package that carries hidden code straight into your system without so much as a glance! This stored XSS vulnerability allows an attacker to inject malicious JavaScript into SVG images uploaded as profile pictures. When these images are processed, the code interacts with the API on a local TCP port, enabling privilege escalation to take over user accounts.

What to do

An attacker could gain access to any user account, leading to a full account takeover. This means they might change passwords, access sensitive information, or even wreak havoc by acting like the legitimate user — an absolutely devastating scenario for any platform! Update to version 5.76.1 or later to patch this vulnerability. Additionally, implement proper validation and sanitization of all uploaded files, especially SVG images, to ensure no executable code is allowed.🛡️ You've got this! With these steps, you can lock it down and keep your accounts safe! 🔒😊

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.03485 · 89.1th percentile
Published
2024-02-11T00:00Z
EPSS history
Timeline
  • 11 FEB 00:00Z
    Ghost through 5.76.0 allows stored XSS, and resultant privilege escalation in which a contributor can take over any account, via an SVG profile picture that…
    cvelistv5