CVE-2022-40290 Reflected cross-site scripting in PHP Point of Sale version 19.0, by PHP Point of Sale, LLC.
Unauthenticated attackers can execute arbitrary scripts via reflected XSS in barcode generation, potentially compromising user sessions and data.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-40290?
CVE-2022-40290 is a medium-severity cross-site scripting vulnerability in PHP Point of Sale, published on 31 Oct 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The application was vulnerable to an unauthenticated Reflected Cross-Site Scripting (XSS) vulnerability in the barcode generation functionality, allowing attackers to generate an unsafe link that could compromise users.
Weakness: CWE-79
Which versions are affected by CVE-2022-40290?
It affects 1 product.
Products include Phppointofsale Php Point of Sale.
How do I fix CVE-2022-40290?
No fix has been published for CVE-2022-40290 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2022-40290 being exploited?
There is no known exploitation of CVE-2022-40290 in the wild and no public exploit code.
Other vulnerabilities in PHP Point of Sale
- CVE-2022-40293 Session fixation in PHP Point of Sale version 19.0, by PHP Point of Sale, LLC.
- CVE-2022-40296 Server-side request forgery (SSRF) in PHP Point of Sale version 19.0, by PHP Point of Sale, LLC.
- CVE-2022-40287 Stored cross-site scripting in PHP Point of Sale version 19.0, by PHP Point of Sale, LLC via user profile data fields.
- CVE-2022-40288 Stored cross-site scripting in PHP Point of Sale version 19.0, by PHP Point of Sale, LLC via messaging functionality
- CVE-2022-40289 Cross-site scripting in PHP Point of Sale
Sources
Also known as GHSA-mc95-w48p-72ww.