CVE-2025-6540: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in murtuzamakda52 web-cam
The web-cam plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘slug’ parameter in all versions up to, and including, 1.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI Analysis
Technical Summary
CVE-2025-6540 is a stored Cross-Site Scripting (XSS) vulnerability identified in the murtuzamakda52 web-cam plugin for WordPress, affecting all versions up to and including 1.0. The root cause is insufficient sanitization and escaping of the 'slug' parameter during web page generation, classified under CWE-79. Authenticated attackers with Contributor-level access or higher can exploit this flaw by injecting arbitrary JavaScript code into pages via the vulnerable parameter. When other users access these pages, the injected scripts execute in their browsers, potentially compromising session tokens, cookies, or enabling unauthorized actions within the context of the victim's privileges. The vulnerability has a CVSS 3.1 base score of 6.4, reflecting medium severity, with an attack vector of network, low attack complexity, requiring privileges but no user interaction, and impacting confidentiality and integrity with a scope change. Although no public exploits are currently known, the vulnerability poses a significant risk in multi-user WordPress environments where contributors or higher roles exist. The absence of official patches necessitates immediate mitigation steps to prevent exploitation. This vulnerability highlights the critical need for proper input validation and output encoding in web applications, especially plugins that extend CMS functionality.
Potential Impact
The exploitation of this stored XSS vulnerability can lead to several adverse impacts on organizations worldwide. Attackers can hijack user sessions, steal authentication cookies, or perform actions on behalf of other users, potentially escalating privileges or compromising sensitive data. In environments where multiple users have Contributor or higher roles, the risk of internal threat actors or compromised accounts increases. The integrity of website content can be undermined, damaging organizational reputation and user trust. Additionally, attackers might use the vulnerability as a foothold to deploy further attacks such as phishing or malware distribution. While availability is not directly impacted, the confidentiality and integrity of user data and site content are at risk. Organizations relying on this plugin for critical web functionality may face operational disruptions if exploited. The medium severity score indicates a moderate but non-trivial risk that requires timely remediation to prevent exploitation, especially given the widespread use of WordPress and its plugins globally.
Mitigation Recommendations
Given the absence of official patches, organizations should implement immediate compensating controls. First, restrict Contributor-level and higher access to trusted users only and audit existing user roles for unnecessary privileges. Employ Web Application Firewalls (WAFs) with custom rules to detect and block malicious payloads targeting the 'slug' parameter. Implement Content Security Policy (CSP) headers to limit the execution of unauthorized scripts. Conduct thorough input validation and output encoding on the server side if custom modifications are possible. Monitor logs for suspicious activities related to page edits or injections. Consider temporarily disabling or replacing the vulnerable plugin with a secure alternative until a patch is released. Educate users about the risks of XSS and encourage strong authentication practices to reduce the risk of compromised accounts. Regularly back up website data to enable recovery in case of compromise. Finally, stay updated with vendor advisories for any forthcoming patches or updates.
Affected Countries
United States, Germany, United Kingdom, Canada, Australia, France, India, Brazil, Japan, Netherlands
CVE-2025-6540: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in murtuzamakda52 web-cam
Description
The web-cam plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘slug’ parameter in all versions up to, and including, 1.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2025-6540 is a stored Cross-Site Scripting (XSS) vulnerability identified in the murtuzamakda52 web-cam plugin for WordPress, affecting all versions up to and including 1.0. The root cause is insufficient sanitization and escaping of the 'slug' parameter during web page generation, classified under CWE-79. Authenticated attackers with Contributor-level access or higher can exploit this flaw by injecting arbitrary JavaScript code into pages via the vulnerable parameter. When other users access these pages, the injected scripts execute in their browsers, potentially compromising session tokens, cookies, or enabling unauthorized actions within the context of the victim's privileges. The vulnerability has a CVSS 3.1 base score of 6.4, reflecting medium severity, with an attack vector of network, low attack complexity, requiring privileges but no user interaction, and impacting confidentiality and integrity with a scope change. Although no public exploits are currently known, the vulnerability poses a significant risk in multi-user WordPress environments where contributors or higher roles exist. The absence of official patches necessitates immediate mitigation steps to prevent exploitation. This vulnerability highlights the critical need for proper input validation and output encoding in web applications, especially plugins that extend CMS functionality.
Potential Impact
The exploitation of this stored XSS vulnerability can lead to several adverse impacts on organizations worldwide. Attackers can hijack user sessions, steal authentication cookies, or perform actions on behalf of other users, potentially escalating privileges or compromising sensitive data. In environments where multiple users have Contributor or higher roles, the risk of internal threat actors or compromised accounts increases. The integrity of website content can be undermined, damaging organizational reputation and user trust. Additionally, attackers might use the vulnerability as a foothold to deploy further attacks such as phishing or malware distribution. While availability is not directly impacted, the confidentiality and integrity of user data and site content are at risk. Organizations relying on this plugin for critical web functionality may face operational disruptions if exploited. The medium severity score indicates a moderate but non-trivial risk that requires timely remediation to prevent exploitation, especially given the widespread use of WordPress and its plugins globally.
Mitigation Recommendations
Given the absence of official patches, organizations should implement immediate compensating controls. First, restrict Contributor-level and higher access to trusted users only and audit existing user roles for unnecessary privileges. Employ Web Application Firewalls (WAFs) with custom rules to detect and block malicious payloads targeting the 'slug' parameter. Implement Content Security Policy (CSP) headers to limit the execution of unauthorized scripts. Conduct thorough input validation and output encoding on the server side if custom modifications are possible. Monitor logs for suspicious activities related to page edits or injections. Consider temporarily disabling or replacing the vulnerable plugin with a secure alternative until a patch is released. Educate users about the risks of XSS and encourage strong authentication practices to reduce the risk of compromised accounts. Regularly back up website data to enable recovery in case of compromise. Finally, stay updated with vendor advisories for any forthcoming patches or updates.
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Wordfence
- Date Reserved
- 2025-06-23T16:14:25.954Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 685cb6e0e230f5b234861d9b
Added to database: 6/26/2025, 2:56:32 AM
Last enriched: 2/26/2026, 3:39:07 PM
Last updated: 3/24/2026, 6:28:30 AM
Views: 123
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.