MediumGHSA-w2xx-jp9f-gp8gCVE-2015-3397

Yii Framework Cross-site Scripting Vulnerability

Published 17 May 2022 · Updated 30 Nov 2024

Affected package

yiisoft/yii2Composer
Affected
<2.0.4
Fixed in
2.0.4
Update to the fixed version for your release line, for example:composer require yiisoft/yii2:^2.0.4

Details

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.

Is GHSA-w2xx-jp9f-gp8g in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected yiisoft/yii2, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.