CVE-2022-23896: Cross-site Scripting in admidio
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.41918%
CWE
Published
6/29/2022
Updated
1/27/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| admidio/admidio | composer | < 4.1.3 | 4.1.3 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The key vulnerability stems from how user-supplied data (album names, descriptions) was retrieved and output without adequate escaping. The patch adds 'database' format parameter to getValue() calls in photo_album_new.php, which correlates with changes in TablePhotos::getValue where format handling occurs. The removed global $gL10n and added format checks indicate the method previously returned raw database values without context-aware escaping. When called without the 'database' format (as in pre-patch code), the method failed to neutralize HTML-sensitive characters in these fields, enabling stored XSS payloads to execute when rendered in admin UI components.