CVE-2025-1230 Cross-Site Scripting (XSS) vulnerability in Prestashop

Medium 4.8 Published Updated

Attackers can inject malicious scripts via the link parameter to steal session cookies from authenticated PrestaShop administrators.

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

What is CVE-2025-1230?

CVE-2025-1230 is a medium-severity cross-site scripting vulnerability in Prestashop, published on 12 Feb 2025. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

Stored Cross-Site Scripting (XSS) vulnerability in Prestashop 8.1.7, due to the lack of proper validation of user input through ‘/<admin_directory>/index.php’, affecting the ‘link’ parameter. This vulnerability could allow a remote user to send a specially crafted query to an authenticated user and steal their cookie session details.

Weakness: CWE-79

Which versions are affected by CVE-2025-1230?

How do I fix CVE-2025-1230?

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

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

Sources

Also known as GHSA-434q-xw85-56v7.

Is CVE-2025-1230 in your software?

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

Check your SBOMs for free