CVE-2022-4670 - CVE House
Back to Database
Status published Unknown CVE-2022-4670

PDF.js Viewer < 2.1.8 - Contributor+ Stored XSS via Shortcode

Vulnerability Description

The PDF.js Viewer WordPress plugin before 2.1.8 does not validate and escape some of its shortcode attributes before outputting them back in a page/post where the shortcode is embed, which could allow users with the contributor role and above to perform Stored Cross-Site Scripting attacks.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2022-4670

Credits & Attribution

The following person or organization is credited with identifying this vulnerability, as recorded in the NVD database:

  • Lana Codes
  • WPScan

Affected Vendor

Affected Software

PDF.js Viewer
Vulnerable Versions:
0

Timeline

Official Publish: February 6th, 2023
Last Modified: March 25th, 2025
Added to House: July 21st, 2026

CVSS Vectors

No vector data available

Weaknesses (CWE)

No CWE data available

MITRE ATT&CK TTPs

No associated TTPs found for this vulnerability.