Miggo Logo

CVE-2021-4303:
Xataface vulnerable to Cross-site Scripting

6.1

CVSS Score
3.1

Basic Information

EPSS Score
0.18994%
Published
1/5/2023
Updated
10/20/2023
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
xataface/xatafacecomposer< 3.0.03.0.0

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The commit diff shows both functions were vulnerable due to: 1) Use of eval() with unvalidated server responses (XSS payload vector), 2) innerHTML assignment instead of text-safe innerText. The vulnerability description explicitly mentions testftp, but the identical pattern in testdb was also patched. The XSS occurs because eval() could execute arbitrary JS from server responses, and innerHTML would render HTML/JS content.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

* vuln*r**ility, w*i** w*s *l*ssi*i** *s pro*l*m*ti*, **s ***n *oun* in s**nn** X*t***** up to *.x. *****t** *y t*is issu* is t** *un*tion t*st*tp o* t** *il* inst*ll/inst*ll_*orm.js.p*p o* t** *ompon*nt Inst*ll*r. T** m*nipul*tion l***s to *ross sit

Reasoning

T** *ommit *i** s*ows *ot* *un*tions w*r* vuln*r**l* *u* to: *) Us* o* `*v*l()` wit* unv*li**t** s*rv*r r*spons*s (XSS p*ylo** v**tor), *) inn*r*TML *ssi*nm*nt inst*** o* t*xt-s*** inn*rT*xt. T** vuln*r**ility **s*ription *xpli*itly m*ntions `t*st*tp