Vulnerabilities / Document Embedder – let visitors read files without downloading / WPSEC-2026-1210
Document Embedder – let visitors read files without downloading <= 2.4.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via Document Embed Block 'doc' Attribute
Medium 6.4
CWE-79Fixed in 2.4.1
- ID
- WPSEC-2026-1210
- Plugin
- Document Embedder – let visitors read files without downloading (document-emberdder)
- Affected
- all versions before 2.4.1
- Remediation
- Update to 2.4.1 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-18
- Attack surface
- Document Embedder – let visitors read files without downloading on WPSec AttackSurface
- Fix released
- Published
Description
The Document Embedder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the Document Embed block's 'doc' attribute in all versions up to, and including, 2.4.0 due to insufficient validation of the URL scheme before the value is used as a link href, iframe/image source, or window location by the front-end viewer. This makes it possible for authenticated attackers, with contributor-level access and above, to store 'javascript:' URLs in block attributes. The injected scripts execute when a user views the page or clicks the document's download button.
References
- https://wpsec.com/vuln/WPSEC-2026-1210/
- https://plugins.svn.wordpress.org/document-emberdder/tags/2.4.1/
- https://wordpress.org/plugins/document-emberdder/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON or Markdown · All advisories: JSON, RSS