Вход на сайт

Просмотр новости

Найдите то, что Вас интересует

CVE-2026-16770: PDF::WebKit versions through 1.2 for Perl allow argument injection into wkhtmltopdf via meta tags in the source document

Дата публикации: 13-08-2026 22:17:47

Posted by Robert Rothenberg on Aug 13========================================================================
CVE-2026-16770                                       CPAN Security Group
========================================================================
        CVE ID:  CVE-2026-16770
  Distribution:  PDF-WebKit
      Versions:  through 1.2
      MetaCPAN:  https://metacpan.org/dist/PDF-WebKit
      VCS Repo: ...


Основное содержимое страницы с новостью.

oss-sec logo oss-sec mailing list archives
From: Robert Rothenberg <rrwo () cpansec org>
Date: Thu, 13 Aug 2026 00:15:12 +0100


========================================================================
CVE-2026-16770                                       CPAN Security Group
========================================================================

        CVE ID:  CVE-2026-16770
  Distribution:  PDF-WebKit
      Versions:  through 1.2

      MetaCPAN:  https://metacpan.org/dist/PDF-WebKit
      VCS Repo:  https://github.com/kingpong/perl-PDF-WebKit


PDF::WebKit versions through 1.2 for Perl allow argument injection into
wkhtmltopdf via meta tags in the source document

Description
-----------
PDF::WebKit versions through 1.2 for Perl allow argument injection into
wkhtmltopdf via meta tags in the source document.

For an HTML string or file source, the constructor collects every <meta
name="pdf-webkit-KEY" content="VALUE"> 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
--[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 "yes"
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 --enable-local-file-access and --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.

Any caller that renders untrusted HTML lets the document choose the
renderer'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.

Problem types
-------------
- CWE-88 Improper Neutralization of Argument Delimiters in a Command
  ('Argument Injection')

Workarounds
-----------
No fixed release is available. Apply the patch, which restricts the
options taken from meta tags to an allow list of presentational
switches with checked values, extensible through the new
allowed_meta_options configuration attribute, and merges them before
the options passed to new rather than after.

Otherwise, applications that render untrusted HTML should remove meta
elements whose name attribute begins with the configured
meta_tag_prefix (default "pdf-webkit-") before passing the document to
new.

Note that the wkhtmltopdf project is no longer being developed, and
users of this package should migrate to alternative solutions.


References
----------
https://github.com/kingpong/perl-PDF-WebKit/issues/9
https://security.metacpan.org/patches/P/PDF-WebKit/1.2/CVE-2026-16770-r1.patch
https://wkhtmltopdf.org/status.html




Current thread:
  • CVE-2026-16770: PDF::WebKit versions through 1.2 for Perl allow argument injection into wkhtmltopdf via meta tags in the source document Robert Rothenberg (Aug 13)

Схожие новости

#Наименование новостиТональностьИнформативностьДата публикации
1CVE-2026-17431: PDF::WebKit versions through 1.2 for Perl allow OS command injection via a 2-arg open() of the output path in to_pdf and of stylesheet paths in _style_tag_for011.5413-08-2026
2CVE-2026-73194: DBI versions before 1.652 for Perl allow a heap out-of-bounds write via an unvalidated numeric placeholder that sets the binder counter in preparse09.6915-08-2026
3CVE-2026-73193: DBI versions before 1.652 for Perl allow a heap out-of-bounds write on 32-bit perl via an integer wraparound in the output buffer size computed by preparse08.7515-08-2026
4CVE-2026-15689: Dancer2::Plugin::Auth::Extensible versions through 0.713 for Perl allow password reset link poisoning via the request Host header in _default_email_password_reset and _default_welcome_send09.515-08-2026
5CVE-2026-64607: Apache HttpComponents Client: Connection Leak on Content-Encoding Decode Error Leads to Pool Exhaustion DoS07.4113-08-2026
6Rocky Linux perl-IO-Compress Important Code Execution Flaw RLSA-2026-308590501-07-2026
7OpenSSL Security Advisory06.6213-08-2026
8Rocky Linux perl Important Security Update RLSA-2026-30851 CVE-2026-424960529-06-2026
9SUSE 2026-2731-1 editorconfig-core-c Moderate Stack Overflow Threat0503-07-2026
10Security advisories: Drupal core - Moderately critical - Cross-site scripting - SA-CORE-2026-0110715-07-2026

Классификация: . Схожих патентов: 0. Схожих новостей: 10. Тональность: 0. Информативность: 13.13. Источник: seclists.org.