CVE-2021-24759
PDF.js Viewer <= 2.0.1 - Authenticated (Contributor+) Stored Cross-Site Scripting
mediumImproper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
5.4
CVSS Score
5.4
CVSS Score
medium
Severity
2.0.2
Patched in
1066d
Time to patch
Description
The PDF.js Viewer WordPress plugin before 2.0.2 does not escape some of its shortcode and Gutenberg Block attributes, which could allow users with a role as low as Contributor to to perform Cross-Site Scripting attacks
CVSS Vector Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:NAttack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Low
Confidentiality
Low
Integrity
None
Availability
Technical Details
Affected versions
<2.0.2PublishedAugust 11, 2021
Last updatedJuly 11, 2024
Affected pluginpdfjs-viewer-shortcode
Check if your site is affected.
Run a free security audit to detect vulnerable plugins, outdated versions, and misconfigurations.