What the vulnerability does
01Description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in aruvi PDF.js Shortcode pdfjs-shortcode allows Stored XSS.This issue affects PDF.js Shortcode: from n/a through <= 1.0.
Explanation of Vulnerability in Simple Terms
02Summary
PDF.js Shortcode versions 1.0 and earlier contain a cross-site scripting vulnerability in how they process shortcode parameters. An authenticated user with low privileges can inject malicious scripts that execute in other users' browsers when they view the affected page. The vulnerability requires user interaction and can affect site visitors across different security contexts.
What an attacker can do
03Attacker Capabilities
Inject malicious JavaScript that runs in other users' browsers when they view a page with the vulnerable shortcode.
Potential impact on your site
04Site Impact
Site visitors' sessions and data could be compromised if an authenticated user injects malicious code via the shortcode.
Conditions required to exploit
05Prerequisites
Attacker must have low-level authenticated access (e.g., contributor role) and a victim must view the affected page.
Key dates
06Disclosure timeline
January 16, 2025
CVE published
April 28, 2026
Record updated