CVE-2026-48157General

LOWCVSS 6.1 · MEDIUM

Signal is active with 1 mentions in latest observed window

Immediate actions

  • Track advisory updates for patch or workaround availability

Recommended action window: Monitor and triage in normal cycle

NVD 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.

0.0/ 10 priority

Sources & remediation

Weakness type (CWE)
CWE-79

Priority

LOW

Exploitation

NONE

PoC

NONE

Patch

NONE

Momentum

STABLE

Threat summary

  • 2 mentions across 2 observed days
  • Momentum state: stable

What's happening

  • Technical details provided in 1 signal
  • General: 1 classified signal
  • Disclosure: 1 classified signal
  • Peaked 1d ago at 1 mentions (2026-05-24); latest day: 1
  • 2 total mentions across 2 days

Deep dive

Activity timeline2 mentions / 2d
00111Mentions · 2026-05-24: 1Mentions · 2026-06-23: 1Technical Details · 2026-06-23: 105-2406-23
Signal classification2 categories
General
150.0%
Disclosure
150.0%
Referenced assets1 URL
Classification over time
DateTotalLabels
2026-05-241
General1
2026-06-231
Disclosure1
Full discourse2 posts
  • Er3n@0xEr3n
    General

    Letss go 2 new cve's added to the list!!! - CVE-2026-46626 (symfony~31k⭐️) - CVE-2026-48157 (slimphp~12k⭐️)

    Post summary

    The post simply announces two new CVE identifiers for Symfony and SlimPHP without providing any technical detail, PoC, exploit code, or mitigation information.

    10030184
    94 followersView on X
  • DailyCVE@dailycve
    Disclosure

    🟠 Slim Framework, Reflected XSS, #CVE-2026-48157 (Medium) -DC-Jun2026-613 https://dailycve.com/slim-framework-reflected-xss-cve-2026-48157-medium-dc-jun2026-613/

    Post summary

    The post announces a Medium‑severity reflected XSS vulnerability (CVE‑2026‑48157) in Slim Framework, providing the CVE ID, severity, and a link to further details.

    0000033
    216 followersView on X

Explore more