WordPress · Embed Pdf Viewer · CVE-2024-9451
**Name of the Vulnerable Software and Affected Versions**
Embed PDF Viewer plugin for WordPress versions up to, and including, 2.4.4
**Description**
The issue is related to Stored Cross-Site Scripting via the `height` and `width` parameters due to insufficient input sanitization and output escaping. This allows 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.
**Recommendations**
For versions up to, and including, 2.4.4, update to a version that includes the necessary input sanitization and output escaping fixes to prevent Stored Cross-Site Scripting attacks.
As a temporary workaround, consider restricting access to the `height` and `width` parameters in the Embed PDF Viewer plugin until a patch is available.