Miggo Logo

GHSA-hg35-vqp3-fv39: ZendFramework potential Cross-site Scripting vectors due to inconsistent encodings

6.1

CVSS Score
3.1

Basic Information

CVE ID
-
EPSS Score
-
Published
6/7/2024
Updated
6/7/2024
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
zendframework/zendframework1composer>= 1.9.0, < 1.9.71.9.7

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability stems from improper use of PHP's core escaping functions (htmlspecialchars/htmlentities) without proper charset specification. The advisory explicitly identifies these functions as problematic when used with hard-coded/undefined charset parameters across multiple components. While exact file paths aren't provided in references, the pattern of insecure function usage is clearly documented in the security advisory and consistent with XSS vulnerabilities caused by encoding mismatches.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

* num**r o* *l*ss*s, prim*rily wit*in t** `Z*n*_*orm`, `Z*n*_*ilt*r`, `Z*n*_*orm`, `Z*n*_Lo*` *n* `Z*n*_Vi*w *ompon*nts`, *ont*in** ***r**t*r *n*o*in* in*onsist*n*i*s w**r**y **lls to t** `*tmlsp**i*l***rs()` *n* *tml*ntiti*s() *un*tions us** un***in

Reasoning

T** vuln*r**ility st*ms *rom improp*r us* o* `P*P`'s *or* *s**pin* *un*tions (`*tmlsp**i*l***rs`/`*tml*ntiti*s`) wit*out prop*r ***rs*t sp**i*i**tion. T** **visory *xpli*itly i**nti*i*s t**s* *un*tions *s pro*l*m*ti* w**n us** wit* **r*-*o***/un***in