CVE Explorer
CVE-2026-48157
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 ev
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"Slim","vendor":"slimphp","versions":[{"status":"affected","version":">= 4.4.0, < 4.15.2"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:8d598491c7f92107d8a460528b25b353ecb4415f465ea8030ec43fe811b0ccd6 · sha256:3bd6c4b8ad4044a1… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.1,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:8d598491c7f92107d8a460528b25b353ecb4415f465ea8030ec43fe811b0ccd6 · sha256:3bd6c4b8ad4044a1… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:8d598491c7f92107d8a460528b25b353ecb4415f465ea8030ec43fe811b0ccd6 · sha256:3bd6c4b8ad4044a1… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/slimphp/Slim/releases/tag/4.15.2","tags":["x_refsource_MISC"],"url":"https://github.com/slimphp/Slim/releases/tag/4.15.2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8d598491c7f92107d8a460528b25b353ecb4415f465ea8030ec43fe811b0ccd6 · sha256:3bd6c4b8ad4044a1… · /containers/cna/references/1
{"name":"https://github.com/slimphp/Slim/security/advisories/GHSA-53h4-8rc4-f539","tags":["x_refsource_CONFIRM"],"url":"https://github.com/slimphp/Slim/security/advisories/GHSA-53h4-8rc4-f539"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:8d598491c7f92107d8a460528b25b353ecb4415f465ea8030ec43fe811b0ccd6 · sha256:3bd6c4b8ad4044a1… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.