Description
WordPress Plugin PDF Viewer Block for Gutenberg is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input. An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks. WordPress Plugin PDF Viewer Block for Gutenberg version 1.0 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 1.0.1 or latest
References
https://sploitus.com/exploit?id=WPEX-ID:AEBF821F-1724-4E4C-8D42-5A94E509D271
https://plugins.svn.wordpress.org/pdf-viewer-block/trunk/readme.txt