CVE-2021-40678 Cross-site scripting in n/a
Persistent cross-site scripting in Piwigo allows attackers to inject malicious scripts via the batch manager, potentially leading to session hijacking or code execution.
- 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-2021-40678?
CVE-2021-40678 is a medium-severity cross-site scripting vulnerability in Piwigo Piwigo, published on 14 Jun 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.
Official description
In Piwigo 11.5.0, there exists a persistent cross-site scripting in the single mode function through /admin.php?page=batch_manager&mode=unit.
Weakness: CWE-79
Which versions are affected by CVE-2021-40678?
It affects 1 product.
Products include Piwigo Piwigo.
How do I fix CVE-2021-40678?
No fix has been published for CVE-2021-40678 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-2021-40678 being exploited?
There is no known exploitation of CVE-2021-40678 in the wild and no public exploit code.
Other vulnerabilities in Piwigo Piwigo
Sources
Also known as GHSA-28wc-7mwv-p5h3.