XSS in Coppermine Photo Gallery showdoc.php (css parameter)
A cross-site scripting (XSS) vulnerability exists in Coppermine Photo Gallery (CPG) versions prior to 1.4.22, specifically in the docs/showdoc.php script. The vulnerability is due to insufficient sanitization of user-supplied input in the 'css' parameter, allowing attackers to inject arbitrary web script or HTML.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote attackers to execute arbitrary JavaScript in the context of the user's browser session, potentially leading to session hijacking, credential theft, or other malicious actions.
If you can’t patch tonight, do this now.
If upgrading is not immediately possible, restrict access to the docs/showdoc.php script or implement input validation and output encoding for the 'css' parameter to prevent injection of malicious scripts.
Patch, then assume compromise.
Upgrade Coppermine Photo Gallery to version 1.4.22 or later, where this vulnerability has been addressed.
No validated public exploits yet. Hidden: 1 not yet analyzed, such as Exploit-DB entries.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.