{"id":6277,"date":"2026-09-04T18:48:54","date_gmt":"2026-09-04T10:48:54","guid":{"rendered":"https:\/\/www.54iter.cn\/?vuln=cve-2026-16770"},"modified":"2026-09-04T18:48:54","modified_gmt":"2026-09-04T10:48:54","slug":"cve-2026-16770","status":"publish","type":"vuln","link":"https:\/\/www.54iter.cn\/?vuln=cve-2026-16770","title":{"rendered":"CVE-2026-16770 [CRITICAL] &#8211; PDF::WebKit versions through 1.2 for Perl allow argument injection into wkhtmltopdf via me"},"content":{"rendered":"<p>PDF::WebKit versions through 1.2 for Perl allow argument injection into wkhtmltopdf via meta tags in the source document.<\/p>\n<p>For an HTML string or file source, the constructor collects every  element in the document head through _pdf_webkit_meta_tags and turns each one into a wkhtmltopdf command line option. KEY is normalized to an option name matching &#8211;[a-z0-9-]+ but is not checked against an allow list, VALUE is passed through unchanged as the argument that follows it, and a VALUE of &#8220;yes&#8221; emits the option as a bare flag. BUILD merges the meta derived options last, so they also override the module defaults and the options passed to new. Switches such as &#8211;enable-local-file-access and &#8211;cookie-jar are reachable this way. The renderer is executed with an argument list rather than a shell command, so this is argument injection and not shell injection.<\/p>\n<p>Any caller that renders untrusted HTML lets the document choose the renderer&#8217;s options and override those set by the application, including options that read local files into the resulting PDF or write to a chosen path. A URL source is not scanned, and the scan is skipped when XML::LibXML, a recommended dependency, is not installed.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>PDF::WebKit versions through 1.2 for Perl allow argument injection into wkhtmltopdf via meta tags in the source document.<\/p>\n<p>For an HTML string or file source, the constructor collects every  element in<\/p>\n","protected":false},"template":"","meta":[],"categories":[],"tags":[],"class_list":["post-6277","vuln","type-vuln","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln\/6277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/vuln"}],"about":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=\/wp\/v2\/types\/vuln"}],"wp:attachment":[{"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.54iter.cn\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}