Document Embedder <= 2.5.0 - Reflected Cross-Site Scripting via 'pdf-source' Parameter

Medium 6.1 CWE-79Fixed in 2.5.1
ID
WPSEC-2026-2755
Plugin
Document Embedder – let visitors read files without downloading (document-emberdder)
Affected
from 2.2.1 before 2.5.1
Remediation
Update to 2.5.1 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-11-09
Attack surface
Document Embedder on WPSec AttackSurface
Fix released
Published

Description

The Document Embedder plugin for WordPress is vulnerable to DOM-based Reflected Cross-Site Scripting via the 'pdf-source' URL parameter in the Flipbook and Slider viewer in all versions up to, and including, 2.5.0. This is due to insufficient validation of the document source URL, which is passed unvalidated into the viewer, the print iframe and the download link (allowing javascript: URLs), and to the file name and error message being inserted into the load-error message without escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts into pages that execute if they can successfully trick a user into performing an action such as clicking on a crafted link.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0