The bug appears, when the siteurl is different to the homeurl of your site, which you set in the wordpress backend.
You have to change the path in the pdfjs-viewer.php in the plugin directory
$viewer_base_url= $siteURL.”/PUT-YOUR-HOME-DIRECTORY-HERE/wp-content/plugins/pdfjs-viewer-shortcode/web/viewer.php”;