Description
The Document Embedder – let visitors read files without downloading plugin for WordPress is vulnerable to Stored DOM-Based Cross-Site Scripting via the 'content (post_content containing block JSON documentSource.doc)' parameter in all versions up to, and including, 2.4.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 payload is triggered specifically when the victim clicks the embedded document's Download button, which causes the de_track_download AJAX fallback path to programmatically create an anchor with the attacker-controlled href and call .click() — a condition reached because supplying docId=0 causes can_read_document() to return false, bypassing the normal download flow.
Severity (CVSS)
| Base score | 6.4 |
|---|---|
| Severity | Medium |
| Version | CVSS 3.1 |
| Vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N |
| Provided by | CNA |
Weaknesses
- CWE-79 — CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| bplugins | Document Embedder – let visitors read files without downloading | 0 to <=2.4.0 [affected] |
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/ad7f7459-943f-42de-b14a-34c8c24763e1?source=cve
- https://plugins.trac.wordpress.org/browser/document-emberdder/tags/2.4.0/build/blocks/document-embed/view.js
- https://plugins.trac.wordpress.org/browser/document-emberdder/tags/2.4.0/build/blocks/document-embed/render.php#L92
- https://plugins.trac.wordpress.org/browser/document-emberdder/tags/2.4.0/includes/features/class-bplde-ajaxcall.php#L289
- https://plugins.trac.wordpress.org/browser/document-emberdder/tags/2.4.0/includes/core/class-bplde-helper-functions.php#L182
- https://plugins.trac.wordpress.org/changeset/3751444/document-emberdder/trunk
- https://plugins.trac.wordpress.org/changeset?reponame=&new=3751444%40document-emberdder%2Ftags%2F2.4.1&old=3731835%40document-emberdder%2Ftags%2F2.4.0
Assess this vulnerability
Compare your deployed product and version with the source record. Review vendor references for fixes and workarounds. A CVSS score describes technical severity; it does not establish that your systems are affected or that exploitation has occurred.
Browse all CVE security advisories · Symaro cybersecurity services
Generated from the official CVE List on 28 Oct 2026 07:01 UTC.