slim/slim vulnerabilities

Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs

Registry
Composer
Latest
4.15.3
License
MIT

2 known advisories

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

Update to the latest version:composer require slim/slim:^4.15.3

Is your project on an affected slim/slim?

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 slim/slim

  • MediumCVE-2026-48157GHSA-53h4-8rc4-f53923 Jun 2026

    Slim has Reflected XSS in the HtmlErrorRenderer

    Affected
    >=4.4.0 <4.15.2
    Fixed in
    4.15.2
  • HighCVE-2015-2171GHSA-74mf-vjpg-9xh717 May 2022

    Slim vulnerable to PHP object injection

    Affected
    <2.6.0
    Fixed in
    2.6.0

Is your slim/slim version vulnerable?

Which of your client projects still run an old slim/slim?

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.