CVE-2019-16130 Cross-site Scripting in YII2-CMS

Medium 6.1 Published Updated

Cross-site scripting vulnerability in YII2-CMS allows attackers to inject malicious scripts via the contact form name field.

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-2019-16130?

CVE-2019-16130 is a medium-severity cross-site scripting vulnerability in n/a, published on 9 Sep 2019. 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

YII2-CMS v1.0 has XSS in protected\core\modules\home\models\Contact.php via a name field to /contact.html.

Weakness: CWE-79

Which versions are affected by CVE-2019-16130?

2 open source packages ship an affected version, including yii2mod/yii2-cms. It affects 1 product.

PackageAffectedFixed in
yii2mod/yii2-cms PackagistAll versions1.9.2
yii2mod/yii2-cms PackagistAll versions1.9.2

Products include Hgw168cc Yii-Cms.

How do I fix CVE-2019-16130?

Upgrade yii2mod/yii2-cms to 1.9.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-2019-16130 being exploited?

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

Sources

Also known as GHSA-rfh8-25h9-mhgf.

Is CVE-2019-16130 in your software?

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

Check your SBOMs for free