CVE-2020-19825

Cross Site Scripting (XSS) vulnerability in kevinpapst kimai2 1.30.0 in /src/Twig/Runtime/MarkdownExtension.php, allows attackers to gain escalated privileges

Critical · published February 15, 2023

CVSS v3.1
9.6
EPSS
1%
Percentile
52.6
In the wild
Unconfirmed
What it is

🚨 A sneaky Cross-Site Scripting (XSS) bug in kimai2 version 1.30.0 could let attackers escalate privileges like a party crasher sneaking into the VIP section! 🔥 Think of it as a restaurant where anyone can swap their order with a chef's special — if they trick the system, they might get the most expensive dish at no cost! This vulnerability could allow an attacker to gain escalated privileges, meaning they could gain full control over user functions and sensitive data. With access to elevated privileges, the consequences could be absolutely devastating — they could manipulate records, steal information, or even shut down the system entirely!

Put simply

Think of it as a restaurant where anyone can swap their order with a chef's special — if they trick the system, they might get the most expensive dish at no cost! The XSS vulnerability occurs in the MarkdownExtension.php file, allowing malicious scripts to be executed in the context of a user’s session, potentially leading to unauthorized access and privilege escalation.

What to do

This vulnerability could allow an attacker to gain escalated privileges, meaning they could gain full control over user functions and sensitive data. With access to elevated privileges, the consequences could be absolutely devastating — they could manipulate records, steal information, or even shut down the system entirely! Immediate action is crucial! Upgrade to the latest version of kimai2 to patch this vulnerability, and review your code for any unsanitized user inputs that might allow XSS. Consider implementing a Content Security Policy (CSP) to add an extra layer of defense. 🛡️ You've got this! With these steps, you'll fix this vulnerability and keep your system safe! 🦸

The record
Technical detail
CVSS v3.1
9.6 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00697 · 52.6th percentile
Published
2023-02-15T00:00Z
EPSS history
Timeline
  • 15 FEB 00:00Z
    Cross Site Scripting (XSS) vulnerability in kevinpapst kimai2 1.30.0 in /src/Twig/Runtime/MarkdownExtension.php, allows attackers to gain escalated privileges
    cvelistv5