CVE-2022-40287CWE-79

Stored cross-site scripting in PHP Point of Sale version 19.0, by PHP Point of Sale, LLC via user profile data fields.

Critical · published October 31, 2022

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

🚨 A mere message can turn you into a supervillain! This authenticated Stored XSS vulnerability in messaging lets attackers escalate privileges and wreak havoc. 🔥 It's like someone slipping a false identity into a hotel registry and then waltzing into the VIP lounge — they gain access and can cause chaos without anyone noticing. With this vulnerability, an attacker could seize control of a targeted account, manipulating messages or actions as if they were the legitimate user. The potential for privilege escalation means they could gain access to sensitive information and perform actions that could compromise the entire application!

Put simply

It's like someone slipping a false identity into a hotel registry and then waltzing into the VIP lounge — they gain access and can cause chaos without anyone noticing. This vulnerability allows attackers to inject malicious scripts into the messaging functionality, which runs in the browser of unsuspecting users, enabling them to execute unauthorized actions on behalf of the victim.

What to do

With this vulnerability, an attacker could seize control of a targeted account, manipulating messages or actions as if they were the legitimate user. The potential for privilege escalation means they could gain access to sensitive information and perform actions that could compromise the entire application! Patch the application immediately to the latest version to close this vulnerability. Additionally, implement strict input validation and output encoding to protect against XSS attacks. Regularly audit your messaging functionality for similar vulnerabilities! You can tackle this! Apply these fixes and you'll be back to superhero status 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.00675 · 51.6th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2022-10-31T20:08Z
EPSS history
Timeline
  • 31 OCT 20:08Z
    Stored cross-site scripting in PHP Point of Sale version 19.0, by PHP Point of Sale, LLC via user profile data fields.
    cvelistv5