BlogSafe.org

WordPress CVEs

Search and review WordPress-related vulnerability records.

← Back to CVE list

CVE-2021-24759

MEDIUM 5.4 CVSS 3.1
Published
December 6, 2021
Last modified
June 17, 2026
NVD status
Modified
Reported by
contact@wpscan.com
Weakness
CWE-79
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

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

Affected WordPress components

  • PDF.js Viewer Plugin · pdfjs-viewer-shortcode
    Possible match Active
    From 2.0.2 (including) to 2.0.2 (excluding)
    View on WordPress.org

A confirmed match is backed by the plugin or theme slug. A possible match is based on the product name only and should be verified.

Affected products and versions

  • Unknown PDF.js Viewer — From 2.0.2 (including) to 2.0.2 (excluding)
  • pdf.js_viewer_project pdf.js_viewer — Before 2.0.2

References

  • wpscan.com https://wpscan.com/vulnerability/38274ef2-5100-4669-9544-a42346b6727d Exploit, Third Party Advisory
  • nvd.nist.gov Official NVD record