{"id":"CVE-2021-24759","aliases":["CVE-2021-24759"],"related":[],"kind":"vulnerability","state":"published","title":"PDF.js Viewer < 2.0.2 - Contributor+ Stored Cross-Site Scripting","summary":"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","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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","source":"cvelist"},{"lang":"es","text":"El plugin PDF.js Viewer de WordPress versiones anteriores a 2.0.2, no escapa a algunos de sus atributos de shortcode y Gutenberg Block, que podría permitir a usuarios con un rol tan bajo como el de Contributor llevar a cabo ataques de tipo Cross-Site Scripting","source":"nvd"}],"published":"2021-12-06T15:55:26.000Z","modified":"2026-06-17T03:40:51.590Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","score":3.5,"rating":"LOW"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"2.0.2","fixed":"2.0.2","status":"affected"}],"vendor":"Unknown","product":"PDF.js Viewer","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.0.2"}],"vendor":"pdf.js_viewer_project","product":"pdf.js_viewer","cpe":"cpe:2.3:a:pdf.js_viewer_project:pdf.js_viewer:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://wpscan.com/vulnerability/38274ef2-5100-4669-9544-a42346b6727d","tags":["exploit","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["apple502j"],"assigner":"WPScan","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-24759","url":"https://www.cve.org/CVERecord?id=CVE-2021-24759","licence":"CVE Terms of Use","modified":"2024-08-03T19:42:16.873Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-24759","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24759","licence":"Public domain","modified":"2026-06-17T03:40:51.590Z"}],"updatedAt":"2026-11-25T22:58:05.825Z","epss":{"score":0.00624,"percentile":0.51271,"date":"2026-12-01T12:00:22.000Z"}}