{"id":"CVE-2022-4788","state":"PUBLISHED","title":"Embed PDF <= 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","publishedAt":"2023-02-27T15:24:34.916Z","updatedAt":"2025-03-11T02:54:58.108Z","severity":null,"assigner":"WPScan","products":["Unknown Embed PDF"],"affected":[{"vendor":"Unknown","product":"Embed PDF","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.0.6","versionType":"custom"}],"collectionURL":"https://wordpress.org/plugins"}],"references":["https://wpscan.com/vulnerability/2a162365-5a86-423d-b7c4-55c9b4d8b024"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/4xxx/CVE-2022-4788.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-4788","state":"PUBLISHED","datePublished":"2023-02-27T15:24:34.916Z","dateUpdated":"2025-03-11T02:54:58.108Z","assignerShortName":"WPScan","assignerOrgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81","dateReserved":"2022-12-28T10:10:44.392Z"},"containers":{"cna":{"title":"Embed PDF <= 1.0.6 - Contributor+ Stored XSS via Shortcode","descriptions":[{"lang":"en","value":"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"}],"affected":[{"vendor":"Unknown","product":"Embed PDF","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"1.0.6","versionType":"custom"}],"collectionURL":"https://wordpress.org/plugins"}],"references":[{"url":"https://wpscan.com/vulnerability/2a162365-5a86-423d-b7c4-55c9b4d8b024","tags":["exploit","vdb-entry","technical-description"]}],"problemTypes":[{"descriptions":[{"description":"CWE-79 Cross-Site Scripting (XSS)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"WPScan","orgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81","dateUpdated":"2023-02-27T15:24:34.916Z"},"credits":[{"lang":"en","value":"Lana Codes","type":"finder"},{"lang":"en","value":"WPScan","type":"coordinator"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"WPScan CVE Generator"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://wpscan.com/vulnerability/2a162365-5a86-423d-b7c4-55c9b4d8b024","tags":["exploit","vdb-entry","technical-description","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T01:48:40.473Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-11T02:54:35.086413Z","id":"CVE-2022-4788","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","type":"CWE","lang":"en","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-11T02:54:58.108Z"}}]}}}