Slim is a PHP micro framework that enables users to write simple web applications and APIs. In versions 4.4.0 through 4.15, if an application uses HttpException::setTitle() and/or setDescription() to include untrusted/request-derived data in the error title or description (e.g. "No products found matching '{$query}'."), an attacker could inject arbitrary HTML/JavaScript that executes in the victim's browser when they encounter an HTML error page generated by Slim. The vulnerability is present even with displayErrorDetails = false as the unescaped title and description are rendered on this error path. Built-in exceptions (HttpNotFoundException, HttpBadRequestException, etc.) ship plain-text defaults, so a vanilla Slim app with no user code is not exploitable. Only applications that feed untrusted data into setTitle() and/or setDescription() are affected. The issue has been fixed in 4.15.2. If developers are unable to immediately update their applications, they can work around this issue by avoiding passing untrusted/request-derived data into HttpException::setTitle() and setDescription() and using static, plain-text error copy instead. They should also register a custom error renderer (an ErrorRendererInterface implementation, or a subclass of HtmlErrorRenderer that escapes the title and description) for the HTML media type.
CVE-2026-48157
This medium-severity CVE scores 6.1 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit probability: 0.2%, top 94% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 6.1
- EG Score
- 6.1(medium)
- EPSS
- 6.3%
- KEV
- Not listed
Published
June 15, 2026
Last Modified
June 16, 2026
Advisory Details (2)
Auto-updated Jun 15, 2026Reflected XSS in Slim's HtmlErrorRenderer (>= 4.4.0, <=4.15.1) · Advisory · slimphp/Slim · GitHub
Affected: 4.15.2.
https://github.com/slimphp/Slim/security/advisories/GHSA-53h4-8rc4-f5394.15.2
Patch available: slimphp/Slim 4.15.2
https://github.com/slimphp/Slim/releases/tag/4.15.2Vendor Advisories for CVE-2026-48157(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 13× in last 7d / 50× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-06 23:31 UTCEG score recompute
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 18:29 UTCEG score recompute
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 18:48 UTCEG score recompute
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-03 19:06 UTCEG score recompute
- 2026-07-02 19:25 UTCEG score recompute
- 2026-07-01 19:44 UTCEG score recompute
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 20:03 UTCEG score recompute
- 2026-06-29 20:22 UTCEG score recompute
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-29 14:06 UTCEPSS rescore
- 2026-06-28 20:41 UTCEG score recompute
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-28 04:56 UTCEPSS rescore
- 2026-06-27 21:00 UTCEG score recompute
- 2026-06-27 03:08 UTCEPSS rescore
- 2026-06-26 21:19 UTCEG score recompute
- 2026-06-25 21:37 UTCEG score recompute
- 2026-06-25 13:49 UTCEPSS rescore
- 2026-06-24 21:55 UTCEG score recompute
Show 25 moreShow fewer
- 2026-06-24 14:05 UTCEPSS rescore
- 2026-06-23 22:14 UTCEG score recompute
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-23 21:33 UTCEPSS rescore
- 2026-06-22 21:56 UTCEG score recompute
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-21 22:14 UTCEG score recompute
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 14:56 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-21 01:59 UTCEPSS rescore
- 2026-06-20 22:25 UTCEG score recompute
- 2026-06-19 22:32 UTCEG score recompute
- 2026-06-19 19:26 UTCEPSS rescore
- 2026-06-19 19:26 UTCEPSS rescore
- 2026-06-18 22:48 UTCEG score recompute
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-18 17:52 UTCEPSS rescore
- 2026-06-17 23:08 UTCEG score recompute
- 2026-06-17 17:53 UTCEPSS rescore
- 2026-06-16 23:26 UTCEG score recompute
- 2026-06-16 17:53 UTCEPSS rescore
- 2026-06-15 23:45 UTCEG score recompute
- 2026-06-15 23:45 UTCNVD updatefirst tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-48157?
When was CVE-2026-48157 disclosed?
Is CVE-2026-48157 actively exploited?
What is the CVSS score of CVE-2026-48157?
How do I remediate CVE-2026-48157?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-48157
Is Your Infrastructure Affected by CVE-2026-48157?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.