Document Embedder <= 2.4.0 - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via 'documentSource.doc' Block Attribute
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: partial
Summary
The Document Embedder WordPress plugin, version 2.4.0 and earlier, is affected. An attacker with contributor-level access or higher can insert malicious scripts into pages that run in a visitor's browser when they click the embedded document's Download button, potentially allowing actions performed in the victim's session or theft of their data.
Summarized by anthropic/claude-haiku-5.5. Verify details against the original sources.
Read the original 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.
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: partial
- Record last updated
Affected versions
- bplugins Document Embedder – let visitors read files without downloading
through 2.4.0
References 7
plugins.trac.wordpress.org
- browser/document-emberdder/tags/2.4.0/build/blocks/document-embed/view.js
- browser/document-emberdder/tags/2.4.0/build/blocks/document-embed/render.php#L92
- browser/document-emberdder/tags/2.4.0/includes/features/class-bplde-ajaxcall.php#L289
- browser/document-emberdder/tags/2.4.0/includes/core/class-bplde-helper-functions.php#L182
- changeset/3751444/document-emberdder/trunk
- changeset?reponame=&new=3751444%40document-emberdder%2Ftags%2F2.4.1&old=3731835%40document-emberdder%2Ftags%2F2.4.0