CVE-2023-4157: omeka/omeka-s Improper Input Validation vulnerability
5.2
CVSS Score
3.0
Basic Information
CVE ID
GHSA ID
EPSS Score
0.20011%
CWE
Published
8/4/2023
Updated
11/10/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:L/A:N
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
omeka/omeka-s | composer | < 4.0.3 | 4.0.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from unescaped output of user-controlled data (installation title) in template files. The patches explicitly add escaping functions ($escape
, escapeHtml
) to three locations where the title was displayed. The original code used $this->setting('installation_title')
and $title
without sanitization, violating CWE-20 and CWE-74. These functions directly handle user-controlled input and were missing output encoding, making them the root cause.