Skip to main content

CVE-2025-47204: n/a

Medium
VulnerabilityCVE-2025-47204cvecve-2025-47204
Published: Tue May 13 2025 (05/13/2025, 00:00:00 UTC)
Source: CVE
Vendor/Project: n/a
Product: n/a

Description

An issue was discovered in post.php in bootstrap-multiselect (aka Bootstrap Multiselect) 1.1.2. A PHP script in the source code echoes arbitrary POST data. If a developer adopts this structure wholesale in a live application, it could create a Reflective Cross-Site Scripting (XSS) vulnerability exploitable through Cross-Site Request Forgery (CSRF).

AI-Powered Analysis

AILast updated: 07/06/2025, 16:28:16 UTC

Technical Analysis

CVE-2025-47204 is a vulnerability identified in the PHP script post.php within the bootstrap-multiselect library version 1.1.2. The core issue arises because the script echoes arbitrary POST data without proper sanitization or encoding. This insecure coding practice can lead to a Reflective Cross-Site Scripting (XSS) vulnerability. Specifically, if a developer integrates this script directly into a live web application without implementing additional security controls, attackers can exploit this flaw by crafting malicious POST requests that inject executable scripts into the response. Furthermore, the vulnerability is compounded by the potential for Cross-Site Request Forgery (CSRF) attacks, where an attacker tricks an authenticated user into submitting a malicious POST request unknowingly. The CVSS 3.1 base score is 6.1, indicating a medium severity level. The vector details (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) show that the attack can be performed remotely over the network with low attack complexity, requires no privileges, but does require user interaction (e.g., the user must visit a malicious page). The vulnerability impacts confidentiality and integrity by allowing script injection that could steal session tokens or manipulate page content, but does not affect availability. No known exploits are currently reported in the wild. The vulnerability is classified under CWE-352, which corresponds to Cross-Site Request Forgery, highlighting the combined risk of CSRF enabling the XSS attack. The lack of patch links suggests that no official fix has been published yet, so developers must apply mitigations manually or avoid using the vulnerable code as-is.

Potential Impact

For European organizations, this vulnerability poses a significant risk primarily to web applications that incorporate the bootstrap-multiselect library or similar vulnerable PHP scripts without adequate input validation and CSRF protections. Exploitation could lead to session hijacking, unauthorized actions performed on behalf of users, and data leakage, impacting user trust and compliance with data protection regulations such as GDPR. Given the medium severity, the threat is moderate but non-trivial, especially for sectors with high web exposure like e-commerce, finance, and government services. The reflective XSS combined with CSRF can facilitate targeted phishing or social engineering attacks, potentially leading to broader compromise of user accounts or internal systems. The vulnerability's exploitation requires user interaction, which may limit mass exploitation but does not eliminate risk in environments with high user traffic or where attackers can lure users to malicious sites. The absence of known exploits in the wild suggests a window of opportunity for proactive mitigation before widespread attacks occur.

Mitigation Recommendations

To mitigate CVE-2025-47204, European organizations should: 1) Immediately audit all web applications using bootstrap-multiselect or similar PHP scripts that echo POST data to identify vulnerable instances. 2) Implement strict input validation and output encoding on all user-supplied data, especially POST parameters, to prevent script injection. Use established libraries or frameworks that automatically handle encoding. 3) Enforce anti-CSRF tokens on all state-changing POST requests to prevent unauthorized cross-site requests. 4) Employ Content Security Policy (CSP) headers to restrict the execution of inline scripts and reduce the impact of potential XSS attacks. 5) Educate developers on secure coding practices to avoid directly echoing user input without sanitization. 6) Monitor web application logs for unusual POST requests or suspicious referrers that may indicate exploitation attempts. 7) If possible, isolate or replace the vulnerable component with a secure alternative or updated version once available. 8) Conduct regular security testing, including automated scanning and manual penetration testing focused on XSS and CSRF vectors. These targeted steps go beyond generic advice by focusing on the specific nature of this vulnerability and its exploitation path.

Need more detailed analysis?Get Pro

Technical Details

Data Version
5.1
Assigner Short Name
mitre
Date Reserved
2025-05-02T00:00:00.000Z
Cisa Enriched
true
Cvss Version
3.1
State
PUBLISHED

Threat ID: 682cd0fc1484d88663aecaf0

Added to database: 5/20/2025, 6:59:08 PM

Last enriched: 7/6/2025, 4:28:16 PM

Last updated: 7/30/2025, 2:10:06 PM

Views: 13

Actions

PRO

Updates to AI analysis are available only with a Pro account. Contact root@offseq.com for access.

Please log in to the Console to use AI analysis features.

Need enhanced features?

Contact root@offseq.com for Pro access with improved analysis and higher rate limits.

Latest Threats