CVE-2018-10704 Cross-site Scripting in yii2cmf

Medium 6.1 Published Updated

Cross-site scripting vulnerability in yidashi yii2cmf allows attackers to inject malicious scripts via the search parameter.

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-10704?

CVE-2018-10704 is a medium-severity cross-site scripting vulnerability in n/a, published on 12 Mar 2020. 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

yidashi yii2cmf 2.0 has XSS via the /search q parameter.

Weakness: CWE-79

Which versions are affected by CVE-2018-10704?

2 open source packages ship an affected version, including yidashi/yii2cmf. It affects 1 product.

PackageAffectedFixed in
yidashi/yii2cmf PackagistAll versions2.0.2
yidashi/yii2cmf PackagistAll versions2.0.2

Products include Yii2cmf Project Yii2cmf.

How do I fix CVE-2018-10704?

Upgrade yidashi/yii2cmf to 2.0.2 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-10704 being exploited?

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

Sources

Also known as GHSA-mvrg-5c4w-7qv4.

Is CVE-2018-10704 in your software?

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

Check your SBOMs for free