CVE-2021-42940

A Cross Site Scripting (XSS) vulnerability exists in Projeqtor 9.3.1 via /projeqtor/tool/saveAttachment.php, which allows an attacker to upload a SVG file…

published February 11, 2022

CVSS
—
EPSS
1%
Percentile
65.0
In the wild
Unconfirmed
What it is

⚠️ A crafty SVG file can sneak malicious JavaScript right into your Projeqtor setup! This XSS vulnerability could put your data at unexpected risk. 😱 Think of it like a chef allowing an unverified ingredient delivery — if the kitchen never checks what’s on the truck, they might end up serving something dangerous to guests! In this case, an attacker could upload a seemingly harmless SVG file that runs malicious scripts in the browser. This could lead to unauthorized access to user sessions, data leaks, or even hijacking accounts. Who knew a simple file could turn into a recipe for disaster?

Put simply

Think of it like a chef allowing an unverified ingredient delivery — if the kitchen never checks what’s on the truck, they might end up serving something dangerous to guests! This vulnerability allows attackers to exploit the saveAttachment.php endpoint by uploading a specially-crafted SVG file, which can execute JavaScript when rendered in the browser, potentially compromising user security.

What to do

In this case, an attacker could upload a seemingly harmless SVG file that runs malicious scripts in the browser. This could lead to unauthorized access to user sessions, data leaks, or even hijacking accounts. Who knew a simple file could turn into a recipe for disaster? To mitigate risk, update Projeqtor to the latest version as soon as possible, which includes fixes for this vulnerability. Additionally, implement strict file type validation to ensure that only safe file types are accepted for upload. 🛡️ You've got this! With these steps, you'll keep your Projeqtor safe and sound. 💪✨

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.01085 · 65.0th percentile
Published
2022-02-11T15:54Z
EPSS history
Timeline
  • 11 FEB 15:54Z
    A Cross Site Scripting (XSS) vulnerability exists in Projeqtor 9.3.1 via /projeqtor/tool/saveAttachment.php, which allows an attacker to upload a SVG file…
    cvelistv5