目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1325

100%

CVE-2026-48157— slimphp Slim 跨站脚本漏洞

CVSS 6.1 · Medium EPSS 0.26% · P17

影响版本矩阵 1

厂商产品版本范围状态
slimphpSlim>= 4.4.0, < 4.15.2affected
获取后续新漏洞提醒登录后订阅

一、 漏洞 CVE-2026-48157 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
Slim has Reflected XSS in the HtmlErrorRenderer
来源: 美国国家漏洞数据库 NVD
Vulnerability Description
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.
来源: 美国国家漏洞数据库 NVD
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
来源: 美国国家漏洞数据库 NVD
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
来源: 美国国家漏洞数据库 NVD
Vulnerability Title
slimphp Slim 跨站脚本漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
slimphp Slim是slimphp的一个轻量级PHP开发框架。 Slim 4.4.0版本至4.15.2之前版本存在跨站脚本漏洞,该漏洞源于当应用使用HttpException::setTitle()或setDescription()包含未验证/请求数据时,未转义数据在HTML错误页面中被渲染,可能导致攻击者注入任意HTML/JavaScript。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商产品影响版本CPE订阅
slimphpSlim >= 4.4.0, < 4.15.2 -

二、漏洞 CVE-2026-48157 的公开POC

#POC 描述源链接神龙链接
AI 生成 POC高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2026-48157 的情报信息

登录查看更多情报信息。

CVE-2026-48157 厂商安全公告 (1)

CVE-2026-48157 厂商页面 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-48157

暂无评论


发表评论