CVE-2025-40980 ddd

Medium 5.1 Published Updated

A stored XSS vulnerability in UltimatePOS allows attackers to steal session cookies from authenticated users via the product name field.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2025-40980?

CVE-2025-40980 is a medium-severity cross-site scripting vulnerability in UltimateFosters UltimatePOS, published on 31 Jul 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

A Stored Cross Site Scripting vulnerability has been found in UltimatePOS by UltimateFosters. This vulnerability is due to the lack of proper validation of user inputs via ‘/products/<PRODUCT_ID>/edit’, affecting to ‘name’ parameter via POST. The vulnerability could allow a remote attacker to send a specially crafted query to an authenticated user and steal his/her session cookies details.

Weakness: CWE-79

Which versions are affected by CVE-2025-40980?

How do I fix CVE-2025-40980?

No fix has been published for CVE-2025-40980 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-2025-40980 being exploited?

There is no known exploitation of CVE-2025-40980 in the wild and no public exploit code.

Sources

Also known as GHSA-346w-fp78-57q5.

Is CVE-2025-40980 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free