CVE-2026-109370
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.
Affected WordPress components
-
Document Embedder – let visitors read files without downloading Plugin · document-emberdderUp to and including 2.4.0View on WordPress.org
A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.
Affected products and versions
- bplugins Document Embedder – let visitors read files without downloading — Up to and including 2.4.0
References
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/document-emberdder/tags/2.4.0/build/blocks/document-embed/render.php#L92
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/document-emberdder/tags/2.4.0/build/blocks/document-embed/view.js
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/document-emberdder/tags/2.4.0/includes/core/class-bplde-helper-functions.php#L182
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/browser/document-emberdder/tags/2.4.0/includes/features/class-bplde-ajaxcall.php#L289
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset/3751444/document-emberdder/trunk
- plugins.trac.wordpress.org https://plugins.trac.wordpress.org/changeset?reponame=&new=3751444%40document-emberdder%2Ftags%2F2.4.1&old=3731835%40document-emberdder%2Ftags%2F2.4.0
- www.wordfence.com https://www.wordfence.com/threat-intel/vulnerabilities/id/ad7f7459-943f-42de-b14a-34c8c24763e1?source=cve
- nvd.nist.gov Official NVD record