Piwigo · Piwigo · CVE-2021-40678
**Name of the Vulnerable Software and Affected Versions**
Piwigo version 11.5.0
**Description**
The issue is related to a persistent cross-site scripting in the single mode function. This occurs through the `/admin.php?page=batch manager&mode=unit` API endpoint, specifically affecting the `mode` parameter. There is no information provided about the estimated number of potentially affected devices worldwide or details about real-world incidents where this issue was exploited.
**Recommendations**
For Piwigo version 11.5.0, as a temporary workaround, consider restricting access to the `/admin.php?page=batch manager&mode=unit` API endpoint until a patch is available. Avoid using the `mode=unit` parameter in this endpoint to minimize the risk of exploitation. At the moment, there is no information about a newer version that contains a fix for this vulnerability.