Intel

AIKIDO-2026-10908

slim/slim is vulnerable to Cross-site Scripting (XSS)

Cross-site Scripting (XSS)CVE-2026-48157 Published 6 days ago

60

Medium Risk

This Affects:

PHPslim/slim
4.4.0 - 4.15.1
Fixed in 4.15.2
Are you affected? Scan for Free

TL;DR

Affected versions of Slim rendered the HttpException title and description into the HTML response without proper escaping. This allowed untrusted content in those fields to inject malicious scripts into the browser, resulting in a cross-site scripting (XSS) vulnerability.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

slim/slim is vulnerable to Cross-site Scripting (XSS) in versions 4.4.0 - 4.15.1.

How to fix this

Upgrade the slim/slim library to the patch version.