Miggo Logo

CVE-2018-5216: Radiant CMS vulnerable to Cross-site Scripting

5.4

CVSS Score
3.0

Basic Information

EPSS Score
0.43188%
Published
1/6/2018
Updated
2/3/2023
KEV Status
No
Technology
TechnologyRuby

Technical Details

CVSS Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Package NameEcosystemVulnerable VersionsFirst Patched Version
radiantrubygems<= 1.1.4

Vulnerability Intelligence
Miggo AIMiggo AI

Miggo AIRoot Cause Analysis

The XSS vulnerability manifests when Markdown input containing HTML payloads (like <svg onload=alert(0)>) is processed and rendered. Radiant CMS's Markdown filter is responsible for converting Markdown to HTML. Since the exploit requires the 'Markdown' filter selection and results in unescaped HTML execution, the vulnerability likely resides in the MarkdownFilter's rendering logic where HTML sanitization is omitted. The absence of patched versions and the CWE-79 classification further support this conclusion.

Vulnerable functions

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

WAF Protection Rules

WAF Rule

R**i*nt *MS *.*.* **s XSS vi* *r**t** M*rk*own input in t** `p*rt_*o*y_*ont*nt` p*r*m*t*r to *n `**min/p***s/*/**it `r*sour**.

Reasoning

T** XSS vuln*r**ility m*ni**sts w**n M*rk*own input *ont*inin* *TML p*ylo**s (lik* <sv* onlo**=*l*rt(*)>) is pro**ss** *n* r*n**r**. R**i*nt *MS's M*rk*own *ilt*r is r*sponsi*l* *or *onv*rtin* M*rk*own to *TML. Sin** t** *xploit r*quir*s t** 'M*rk*ow