Miggo Logo

CVE-2019-7170: Croogo vulnerable to XSS in title field

4.8

CVSS Score
3.0

Basic Information

EPSS Score
0.44613%
Published
5/14/2022
Updated
9/20/2023
KEV Status
No
Technology
TechnologyPHP

Technical Details

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
croogo/croogocomposer< 3.0.73.0.7

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from missing output encoding in multiple template files and helper functions when rendering user-controlled title fields. The commit diff shows widespread addition of h() (HTML entity encoding) to title outputs in templates, and a critical change in CroogoHtmlHelper.php where link escaping was enabled by default. The breadcrumb component and taxonomy vocabulary templates were particularly vulnerable as they directly echoed user input without sanitization, enabling stored XSS payload execution.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

* stor**-s*l* XSS *xists in *roo*o *llowin* *n *tt**k*r to *x**ut* *TML or J*v*S*ript *o** in * vuln*r**l* Titl* *i*l* to /**min/t*xonomy/vo***ul*ri*s.

Reasoning

T** vuln*r**ility st*ms *rom missin* output *n*o*in* in multipl* t*mpl*t* *il*s *n* **lp*r *un*tions w**n r*n**rin* us*r-*ontroll** titl* *i*l*s. T** *ommit *i** s*ows wi**spr*** ***ition o* `*()` (*TML *ntity *n*o*in*) to titl* outputs in t*mpl*t*s,