CSRF-assisted Reflective XSS in Bootstrap Multiselect post.php
CVE-2025-47204 affects bootstrap-multiselect (Bootstrap Multiselect) 1.1.2. The issue is in the source file post.php, a PHP script that echoes arbitrary POST data back to the client. If a developer copies or deploys this example/source structure wholesale in a live application, attacker-controlled input can be reflected into the HTTP response without proper sanitization or output encoding, creating a reflective cross-site scripting condition. The available information further indicates the XSS can be triggered via cross-site request forgery, meaning an attacker can induce a victim’s browser to submit crafted POST data to the vulnerable endpoint and have malicious script reflected and executed in the victim’s browser context.
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 can result in arbitrary script execution in the victim’s browser in the security context of the affected application. This can enable session theft, account compromise, unauthorized actions performed as the victim, access to sensitive page content, and other client-side impacts typical of reflective XSS. Because the issue is described as CSRF-assisted, exploitation may be possible by luring a victim to attacker-controlled content that causes a cross-site POST request to the vulnerable endpoint.
If you can’t patch tonight, do this now.
Do not deploy or reuse the vulnerable post.php example/pattern in production. If immediate upgrade is not possible, remove or disable the affected script, prevent unsanitized POST parameters from being echoed in responses, and enforce context-appropriate output encoding. Implement CSRF defenses such as anti-CSRF tokens and SameSite cookie settings to reduce the ability of external sites to induce cross-site POST requests. General browser-side hardening such as a restrictive Content Security Policy may also reduce XSS impact, but it is not a substitute for fixing the vulnerable reflection.
Patch, then assume compromise.
Upgrade bootstrap-multiselect to version 2.0.0 or later, which is identified as fixed in the provided advisory. In addition, review any copied, adapted, or deployed code derived from the vulnerable post.php example and remove the pattern of reflecting raw POST data into responses. Apply strict server-side input handling and context-appropriate output encoding before rendering user-supplied data. Ensure CSRF protections are implemented on affected endpoints.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
5 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.