Miggo Logo

CVE-2024-26128:
baserCMS Cross-site Scripting vulnerability in Content Management

5.4

CVSS Score
3.1

Basic Information

EPSS Score
0.78798%
Published
2/22/2024
Updated
2/22/2024
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
baserproject/basercmscomposer< 5.0.95.0.9

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The commit diff shows a critical change in BcAdminFormHelper.php where 'escape' => true was added to the 'figcaption' configuration. This indicates the XSS vulnerability stemmed from unescaped output in the figcaption element generated by the control() method when handling file uploads. The helper's role in form rendering and the explicit addition of escaping in the patch directly correlate to the described Content Management XSS vulnerability.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

T**r* is * XSS Vuln*r**ility in *ont*nt M*n***m*nt ***tur* to **s*r*MS. ### T*r**t **s*r*MS *.*.* *n* **rli*r v*rsions ### Vuln*r**ility M*li*ious *o** m*y ** *x**ut** in *ont*nt M*n***m*nt ***tur*. ### *ount*rm**sur*s Up**t* to t** l*t*st v*rsion

Reasoning

T** *ommit *i** s*ows * *riti**l ***n** in `****min*orm**lp*r.p*p` w**r* '*s**p*' => tru* w*s ***** to t** '*i***ption' *on*i*ur*tion. T*is in*i**t*s t** XSS vuln*r**ility st*mm** *rom un*s**p** output in t** *i***ption *l*m*nt **n*r*t** *y t** `*ont