CVE-2025-49866
BaseFortify
Publication date: 2025-07-04
Last updated on: 2026-04-29
Assigner: Patchstack
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
CVE-2025-49866 is a Cross Site Scripting (XSS) vulnerability in the WordPress plugin Beautiful Cookie Consent Banner up to version 4.6.1. It allows unauthenticated attackers to inject malicious scripts such as redirects, advertisements, or other HTML payloads into websites using the plugin. These scripts execute when site visitors access the affected pages, potentially compromising site integrity and user security. The vulnerability is due to improper neutralization of input during web page generation, classified under OWASP Top 10 category A3: Injection. [1]
How can this vulnerability impact me? :
This vulnerability can impact you by allowing attackers to inject and execute malicious scripts on your website without needing any authentication. This can lead to unauthorized redirects, display of unwanted advertisements, theft of user data, session hijacking, or other malicious activities that compromise both your siteβs integrity and the security of your users. Exploitation can result in loss of user trust, damage to reputation, and potential further security breaches. [1]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
Detection of this vulnerability involves checking if the WordPress plugin Beautiful Cookie Consent Banner is installed and its version is 4.6.1 or earlier. Since the vulnerability allows reflected XSS via input injection, one can test by sending crafted HTTP requests with typical XSS payloads to pages using the plugin and observing if the payload is reflected and executed. There are no specific commands provided in the resources, but common methods include using curl or browser developer tools to inject scripts and monitor responses. Additionally, scanning the site with security tools that detect XSS vulnerabilities can help identify the issue. [1]
What immediate steps should I take to mitigate this vulnerability?
The immediate step to mitigate this vulnerability is to update the Beautiful Cookie Consent Banner plugin to version 4.6.2 or later, where the issue is fixed. Since no virtual patch is available, patching is the primary mitigation. Users are strongly advised to apply this update immediately to prevent exploitation. Additionally, if a site is suspected to be compromised, professional incident response and server-side malware scanning are recommended. Using Patchstack's auto-update feature can also facilitate rapid protection. [1]