Advisory record · GHSA-53h4-8rc4-f539

Slim has Reflected XSS in the HtmlErrorRenderer

CVSS 6.1 MediumEPSS 0.0017 · 6th percentile

Published by the GitHub Advisory Database at 23 Jun 2026, 21:54 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
slim/slimPackagist>=4.4.0, <4.15.24.15.2
Identifiers
GHSA-53h4-8rc4-f539 · CVE-2026-48157 · PKSA-ftt4-t9sz-mwn5
Weakness (CWE)
CWE-79
Published
23 Jun 2026
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

Slim (Packagist slim/slim) versions 4.4.0 up to but not including 4.15.2 are affected by a reflected cross-site scripting issue in HtmlErrorRenderer. The problem arises only when an application passes untrusted, request-derived data into HttpException::setTitle() or setDescription(); an attacker could then inject HTML or JavaScript that runs in a victim's browser on the HTML error page. Upgrade to slim/slim 4.15.2, which contains the fix; until then, avoid putting untrusted data into those methods or register a custom error renderer that escapes the title and description.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
6.1 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0017, the 6th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:01 UTC First seen by agentprime
  2. 31 Oct 2026, 14:01 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.