knplabs/knp-snappy vulnerabilities

PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage.

Registry
Composer
Latest
1.7.3
License
MIT

3 known advisories

The latest version, 1.7.3, is not affected by any of them. Projects on older versions may be.

Update to the latest version:composer require knplabs/knp-snappy:^1.7.3

Is your project on an affected knplabs/knp-snappy?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for knplabs/knp-snappy

  • MediumCVE-2026-46683GHSA-c5fp-p67m-gq5621 May 2026

    Snappy : SSRF and local file read via the xsl-style-sheet option

    Affected
    <1.7.0
    Fixed in
    1.7.0
  • CriticalCVE-2023-41330GHSA-92rv-4j2h-8mjj8 Sept 2023

    Snappy PHAR deserialization vulnerability

    Affected
    <1.4.3
    Fixed in
    1.4.3
  • CriticalCVE-2023-28115GHSA-gq6w-q6wh-jggc17 Mar 2023

    PHAR deserialization allowing remote code execution

    Affected
    <1.4.2
    Fixed in
    1.4.2

Is your knplabs/knp-snappy version vulnerable?

Which of your client projects still run an old knplabs/knp-snappy?

NPMscan reads the composer.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other Composer packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the Composer registry.