CVE-2018-7198 October CMS - RainLab Blog Plugin XSS

Medium 6.1 Published Updated

Attackers can inject malicious HTML into the Add Posts page, leading to cross-site scripting attacks against users.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2018-7198?

CVE-2018-7198 is a medium-severity cross-site scripting vulnerability in Octobercms October, published on 18 Feb 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

October CMS through 1.0.431 allows XSS by entering HTML on the Add Posts page.

Weakness: CWE-79

Which versions are affected by CVE-2018-7198?

2 open source packages ship an affected version, including rainlab/blog-plugin. It affects 1 product.

PackageAffectedFixed in
rainlab/blog-plugin PackagistAll versions1.4.1
rainlab/blog-plugin PackagistAll versions1.4.1

Products include Octobercms October.

How do I fix CVE-2018-7198?

Upgrade rainlab/blog-plugin to 1.4.1 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2018-7198 being exploited?

There is no known exploitation of CVE-2018-7198 in the wild and no public exploit code.

Public exploit code: 1 Exploit-DB entry.

All Octobercms October vulnerabilities

Sources

Also known as GHSA-96mh-7xpr-qcgw.

Is CVE-2018-7198 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free