Miggo Logo

CVE-2022-23896: Cross-site Scripting in admidio

5.4

CVSS Score
3.1

Basic Information

EPSS Score
0.41918%
Published
6/29/2022
Updated
1/27/2023
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
admidio/admidiocomposer< 4.1.34.1.3

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot 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.

Vulnerable functions

Only Mi**o us*rs **n s** t*is s**tion

WAF Protection Rules

WAF Rule

**mi*io *.*.* v*rsion is *****t** *y stor** *ross-sit* s*riptin* (XSS).

Reasoning

T** k*y vuln*r**ility st*ms *rom *ow us*r-suppli** **t* (*l*um n*m*s, **s*riptions) w*s r*tri*v** *n* output wit*out ***qu*t* *s**pin*. T** p*t** ***s '**t***s*' *orm*t p*r*m*t*r to **tV*lu*() **lls in p*oto_*l*um_n*w.p*p, w*i** *orr*l*t*s wit* ***n*