phenx/php-svg-lib vulnerabilities

A library to read, parse and export to PDF SVG files.

Registry
Composer
Latest
1.0.2
License
LGPL-3.0-or-later

3 known advisories

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

Update to the latest version:composer require phenx/php-svg-lib:^1.0.2

Is your project on an affected phenx/php-svg-lib?

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 phenx/php-svg-lib

  • CriticalGHSA-97m3-52wr-xvv222 Feb 2024

    Dompdf's usage of vulnerable version of phenx/php-svg-lib leads to restriction bypass and potential RCE

    Affected
    <0.5.2
    Fixed in
    0.5.2
  • MediumCVE-2024-25117GHSA-f3qr-qr4x-j27321 Feb 2024

    php-svg-lib lacks path validation on font through SVG inline styles

    Affected
    <0.5.2
    Fixed in
    0.5.2
  • MediumCVE-2023-50251GHSA-ff5x-7qg5-vwf213 Dec 2023

    Denial of service caused by infinite recursion when parsing SVG document

    Affected
    <0.5.1
    Fixed in
    0.5.1

Is your phenx/php-svg-lib version vulnerable?

Which of your client projects still run an old phenx/php-svg-lib?

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.