Lucene search

K
wpvulndbLana CodesWPVDB-ID:2A67C290-2A27-44FE-95AE-2D427E9D7548
HistoryJan 10, 2023 - 12:00 a.m.

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

2023-01-1000:00:00
Lana Codes
wpscan.com
30

5.4 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

0.0004 Low

EPSS

Percentile

12.0%

The plugin 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.

PoC

[pdfjs-viewer viewer_height=‘" onmouseover=“alert(1)”’]

CPENameOperatorVersion
pdfjs-viewer-shortcodelt2.1.8

5.4 Medium

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

0.0004 Low

EPSS

Percentile

12.0%

Related for WPVDB-ID:2A67C290-2A27-44FE-95AE-2D427E9D7548