CVE-2022-40289CWE-79

Stored cross-site scripting in PHP Point of Sale version 19.0, by PHP Point of Sale, LLC via file upload and download functionality.

Critical · published October 31, 2022

CVSS v3.1
9.0
EPSS
1%
Percentile
50.5
In the wild
Unconfirmed
What it is

🚨 An authenticated Stored XSS vulnerability lurks in file uploads and downloads, ready to escalate privileges faster than you can say 'security breach!' 🔥 Think of it as a restaurant that allows customers to add a secret ingredient to their dishes. If someone adds a potent toxin, every guest who tries that dish becomes a victim, without the staff even realizing it! 🍽️ An attacker could leverage this flaw to execute malicious scripts, potentially compromising accounts and escalating privileges with ease. Once they have access, they could manipulate sensitive data, plant more malware, or wreak havoc across the application!

Put simply

Think of it as a restaurant that allows customers to add a secret ingredient to their dishes. If someone adds a potent toxin, every guest who tries that dish becomes a victim, without the staff even realizing it! 🍽️ This vulnerability allows authenticated users to inject malicious scripts into files uploaded or downloaded within the application. When other users interact with these files, the scripts execute in their browsers, causing unauthorized actions on their behalf.

What to do

An attacker could leverage this flaw to execute malicious scripts, potentially compromising accounts and escalating privileges with ease. Once they have access, they could manipulate sensitive data, plant more malware, or wreak havoc across the application! Immediately patch your application to the latest version to close this XSS vulnerability. Review all upload and download functionalities to ensure proper input validation and output encoding are implemented. Regularly test your application for XSS and other vulnerabilities! You've got this! Follow these steps, and you'll have your application safeguarded in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.0 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00650 · 50.5th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2022-10-31T20:07Z
EPSS history
Timeline
  • 31 OCT 20:07Z
    Stored cross-site scripting in PHP Point of Sale version 19.0, by PHP Point of Sale, LLC via file upload and download functionality.
    cvelistv5