CVE-2025-6540

web-cam <= 3.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via slug Parameter

Published Jun 26, 2025 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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, 3.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.

Analysis

AI-generated

Technical impact

The web‑cam plugin for WordPress is susceptible to stored Cross‑Site Scripting caused by inadequate input sanitization and output escaping on the 'slug’ field. Authenticated users with Contributor level or higher can submit any JavaScript payload that will be persisted in the database and executed each time a user loads the affected page. This allows arbitrary script execution by users who view the injected page.

Affected Systems

The vulnerability affects the WordPress plugin "web‑cam" developed by murtuzamakda52. All released versions up to and including 3.0 are impacted; no mitigations or patches are provided for these specific releases.

Risk and Exploitability

The CVSS score of 6.4 indicates moderate severity, while the EPSS score of <1% suggests a low likelihood of exploitation. The issue is not listed in the CISA KEV catalog. Because the exploitation requires authenticated Contributor‑level access, an attacker must be able to log into the site with sufficient privileges to insert the payload. Once injected, the scripts run for any user who loads the stored page.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Disable or delete the web‑cam plugin if you cannot upgrade to a version that fixes the XSS flaw.
  • Reduce or remove Contributor or higher role permissions to prevent malicious payload submission.
  • Deploy a Content Security Policy that blocks inline script execution and disallows eval to mitigate XSS impact.

Generated by OpenCVE AI on April 21, 2026 at 20:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-28749 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.
History
Type Values Removed Values Added
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. The web-cam plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the ‘slug’ parameter in all versions up to, and including, 3.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.
Title web-cam <= 1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via slug Parameter web-cam <= 3.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via slug Parameter
References
Type Values Removed Values Added
First Time appeared Murtuzamakda52
Murtuzamakda52 web-cam
CPEs cpe:2.3:a:murtuzamakda52:web-cam:*:*:*:*:*:wordpress:*:*
Vendors & Products Murtuzamakda52
Murtuzamakda52 web-cam
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title web-cam <= 1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via slug Parameter
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:25 PM
Reserved
Jun 23, 2025, 4:14 PM
Status
Modified
Published
Jun 26, 2025, 3:15 AM
Modified
Jun 17, 2026, 10:02 AM