CVE-2015-3397 Yii Framework Cross-site Scripting Vulnerability

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script or HTML via JSON and array vectors in the Yii Framework, potentially compromising user sessions.

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-2015-3397?

CVE-2015-3397 is a medium-severity cross-site scripting vulnerability in n/a, published on 14 May 2015. 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

Cross-site scripting (XSS) vulnerability in Yii Framework before 2.0.4 allows remote attackers to inject arbitrary web script or HTML via vectors related to JSON, arrays, and Internet Explorer 6 or 7.

Weakness: CWE-79

Which versions are affected by CVE-2015-3397?

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

PackageAffectedFixed in
yiisoft/yii2 PackagistAll versions2.0.4
yiisoft/yii2 PackagistAll versions2.0.4

Products include Yiiframework Yiiframework.

How do I fix CVE-2015-3397?

Upgrade yiisoft/yii2 to 2.0.4 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-2015-3397 being exploited?

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

Sources

Also known as GHSA-w2xx-jp9f-gp8g.

Is CVE-2015-3397 in your software?

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

Check your SBOMs for free