{"id":"CVE-2022-4788","aliases":["EUVD-2022-52084","GHSA-9w7p-8933-f5gq"],"status":"published","title":"Embed PDF \u003c= 1.0.6 - Contributor+ Stored XSS via Shortcode","description":"The Embed PDF WordPress plugin through 1.0.6 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","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-12","score":0.0049,"percentile":0.42676,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2023-02-27T15:24:34Z","modified":"2026-06-17T05:21:50Z","products":[{"vendor":"embed_pdf_project","product":"embed_pdf"},{"vendor":"unknown","product":"embed pdf"}],"references":[{"url":"https://wpscan.com/vulnerability/2a162365-5a86-423d-b7c4-55c9b4d8b024","tags":["exploit","vdb-entry","technical-description","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-4788"},{"url":"https://github.com/advisories/GHSA-9w7p-8933-f5gq"}],"sources":{"cve":[{"id":"CVE-2022-4788","title":"Embed PDF \u003c= 1.0.6 - Contributor+ Stored XSS via Shortcode","description":"The Embed PDF WordPress plugin through 1.0.6 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","status":"published","published":"2023-02-27T15:24:34.916Z","modified":"2025-03-11T02:54:58.108Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:34:37.599536Z"}],"euvd":[{"id":"EUVD-2022-52084","description":"The Embed PDF WordPress plugin through 1.0.6 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","status":"published","published":"2023-02-27T15:24:34Z","modified":"2025-03-11T02:54:58Z","cvss":[{"version":"","score":0,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","level":"none"}],"updated_at":"2026-11-02T20:53:08.182954Z"}],"ghsa":[{"id":"GHSA-9w7p-8933-f5gq","title":"The Embed PDF WordPress plugin through 1.0.6 does not validate and escape some of its shortcode...","description":"The Embed PDF WordPress plugin through 1.0.6 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","status":"published","published":"2023-02-27T18:32:09Z","modified":"2023-03-11T05:06:54Z","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"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:54:19.253359Z"}],"nvd":[{"id":"CVE-2022-4788","description":"The Embed PDF WordPress plugin through 1.0.6 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","status":"published","published":"2023-02-27T16:15:11.337Z","modified":"2026-06-17T05:21:50.893Z","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"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:36.601381Z"}]}}
