{"id":"CVE-2021-24759","aliases":["EUVD-2021-11671","GHSA-f8m6-8wfx-7hpr"],"status":"published","title":"PDF.js Viewer \u003c 2.0.2 - Contributor+ Stored Cross-Site Scripting","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","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.00624,"percentile":0.50384,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2021-12-06T15:55:26Z","modified":"2026-06-17T03:40:51Z","products":[{"vendor":"pdf.js_viewer_project","product":"pdf.js_viewer"},{"vendor":"unknown","product":"pdf.js viewer"}],"references":[{"url":"https://wpscan.com/vulnerability/38274ef2-5100-4669-9544-a42346b6727d","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-24759"},{"url":"https://github.com/advisories/GHSA-f8m6-8wfx-7hpr"}],"sources":{"cve":[{"id":"CVE-2021-24759","title":"PDF.js Viewer \u003c 2.0.2 - Contributor+ Stored Cross-Site Scripting","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","status":"published","published":"2021-12-06T15:55:26Z","modified":"2024-08-03T19:42:16.873Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:33:05.331617Z"}],"euvd":[{"id":"EUVD-2021-11671","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","status":"published","published":"2021-12-06T15:55:26Z","modified":"2024-08-03T19:42:16Z","updated_at":"2026-11-03T03:24:55.867627Z"}],"ghsa":[{"id":"GHSA-f8m6-8wfx-7hpr","title":"The PDF.js Viewer WordPress plugin before 2.0.2 does not escape some of its shortcode and...","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","status":"published","published":"2021-12-07T00:00:31Z","modified":"2023-02-01T05:06:45Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:50:24.546925Z"}],"nvd":[{"id":"CVE-2021-24759","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","status":"published","published":"2021-12-06T16:15:07.953Z","modified":"2026-06-17T03:40:51.59Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":3.5,"vector":"AV:N/AC:M/Au:S/C:N/I:P/A:N","level":"low","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:01.811115Z"}]}}
