{"id":"CVE-2022-4670","published":"2023-02-06T19:59:43Z","modified":"2025-03-25T19:35:03Z","title":"PDF.js Viewer < 2.1.8 - Contributor+ Stored XSS via Shortcode","vendor":null,"product":"PDF.js Viewer","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00568,"percentile":0.47993,"provenance":"source"},"cwes":[],"references":[{"url":"https://wpscan.com/vulnerability/2a67c290-2a27-44fe-95ae-2d427e9d7548","tags":["exploit","vdb-entry","technical-description"]}],"priority":{"score":18.4,"factors":[{"name":"EPSS percentile","points":9.6},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.78}]},"affectedVersions":[{"vendor":"Unknown","product":"PDF.js Viewer","versions":["< 2.1.8"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-25T18:36:00.980530Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-51994","exploited":false,"provenance":"source"},"exploitRefs":["https://wpscan.com/vulnerability/2a67c290-2a27-44fe-95ae-2d427e9d7548"]}