Miggo Logo

CVE-2021-3313: Plone XSS in User Fullname Property and File Upload

6.1

CVSS Score
3.1

Basic Information

EPSS Score
0.62478%
Published
5/24/2022
Updated
10/15/2024
KEV Status
No
Technology
TechnologyPython

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
plonepip< 5.2.45.2.4

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The vulnerability manifests in two key areas: 1) User profile handling - the fullname field update mechanism lacks proper output encoding when rendering user-controlled data in templates like ownership views. 2) File upload processing - SVG/HTML files with embedded scripts are stored and served with executable MIME types (image/svg+xml) without Content-Disposition headers or sanitization. The combination of improper input handling in user properties and insufficient file content validation creates XSS vectors. These conclusions align with the attack examples in Compass Security's advisory and the hotfix descriptions that specifically mention these components.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

Plon* *MS until v*rsion *.*.* **s * stor** *ross-Sit* S*riptin* (XSS) vuln*r**ility in t** us*r *ulln*m* prop*rty *n* t** *il* uplo** *un*tion*lity. T** us*r's input **t* is not prop*rly *n*o*** w**n **in* ***o** ***k to t** us*r. T*is **t* **n ** in

Reasoning

T** vuln*r**ility m*ni**sts in two k*y *r**s: *) `Us*r` pro*il* **n*lin* - t** *ulln*m* *i*l* up**t* m****nism l**ks prop*r output *n*o*in* w**n r*n**rin* us*r-*ontroll** **t* in t*mpl*t*s lik* own*rs*ip vi*ws. *) *il* uplo** pro**ssin* - SV*/*TML *i