What the vulnerability does
01Description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Andy Fragen Embed PDF Viewer embed-pdf-viewer.This issue affects Embed PDF Viewer: from n/a through <= 2.3.1.
Explanation of Vulnerability in Simple Terms
02Summary
Embed PDF Viewer versions up to 2.3.1 contain a cross-site scripting vulnerability that allows an authenticated administrator to inject malicious scripts. The vulnerability requires user interaction—typically clicking a crafted link—and can affect other users on the site. An attacker with admin privileges can inject code that executes in visitors' browsers, potentially stealing session data or modifying page content.
What an attacker can do
03Attacker Capabilities
Inject malicious JavaScript that runs in other users' browsers when they visit the site.
Potential impact on your site
04Site Impact
A compromised admin account can inject scripts affecting all site visitors, risking credential theft or malware distribution.
Conditions required to exploit
05Prerequisites
Administrator account access and victim must click a malicious link or visit a crafted page.
Key dates
06Disclosure timeline
December 31, 2024
CVE published
April 28, 2026
Record updated