CVE-2024-26450 Cross-site scripting in n/a

Medium 5.4 Published Updated

Attackers can chain CSRF and Stored XSS to upload malicious PHP files and execute code on Piwigo instances, leading to full application takeover.

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-2024-26450?

CVE-2024-26450 is a medium-severity cross-site scripting vulnerability in Piwigo Piwigo, published on 28 Feb 2024. 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

An issue exists within Piwigo before v.14.2.0 allowing a malicious user to take over the application. This exploit involves chaining a Cross Site Request Forgery vulnerability to issue a Stored Cross Site Scripting payload stored within an Admin user's dashboard, executing remote JavaScript. This can be used to upload a new PHP file under an administrator and directly call that file from the victim's instance to connect back to a malicious listener.

Weakness: CWE-79, CWE-352

Which versions are affected by CVE-2024-26450?

It affects 1 product.

Products include Piwigo Piwigo.

How do I fix CVE-2024-26450?

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

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

All Piwigo Piwigo vulnerabilities

Sources

Also known as GHSA-p362-cfpj-q55f, GHSA-wqm3-jgh5-wqrh.

Is CVE-2024-26450 in your software?

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

Check your SBOMs for free