Home / Advisories / CVE-2015-3397 CVE-2015-3397: Yii Framework Cross-site Scripting Vulnerability medium Affects yiisoft/yii2 , yiisoft/yii2-bootstrap , yiisoft/yii2-dev , yiisoft/yii2-gii , yiisoft/yii2-jui . Feed 2026.11.23.2, updated 2026-11-23; published 2022-05-17 ; advisory modified 2024-11-30 .
Yii Framework Cross-site Scripting Vulnerability Package yiisoft/yii2 Composer Affected versions <2.0.4Fixed in 2.0.4Severity medium Exploitation not on CISA KEV · EPSS 2% (84.3th percentile) Published 2022-05-17 Source osv.dev References JSON Data encoded for use in HTML was not safe to use in IE6/IE7, possible XSS attacks Package yiisoft/yii2-bootstrap Composer Affected versions <2.0.4Fixed in 2.0.4Severity unknown Exploitation not on CISA KEV · EPSS 2% (84.3th percentile) Source friendsofphp References JSON Data encoded for use in HTML was not safe to use in IE6/IE7, possible XSS attacks Package yiisoft/yii2-dev Composer Affected versions <2.0.4Fixed in 2.0.4Severity unknown Exploitation not on CISA KEV · EPSS 2% (84.3th percentile) Source friendsofphp References JSON Data encoded for use in HTML was not safe to use in IE6/IE7, possible XSS attacks Package yiisoft/yii2-gii Composer Affected versions <2.0.4Fixed in 2.0.4Severity unknown Exploitation not on CISA KEV · EPSS 2% (84.3th percentile) Source friendsofphp References JSON Data encoded for use in HTML was not safe to use in IE6/IE7, possible XSS attacks Package yiisoft/yii2-jui Composer Affected versions <2.0.4Fixed in 2.0.4Severity unknown Exploitation not on CISA KEV · EPSS 2% (84.3th percentile) Source friendsofphp References Quick answers Is CVE-2015-3397 being actively exploited?
It is not on CISA's Known Exploited Vulnerabilities list today. FIRST's EPSS model puts the chance of exploitation in the next 30 days at 2%.
Which version fixes CVE-2015-3397?
yiisoft/yii2: 2.0.4; yiisoft/yii2-bootstrap: 2.0.4; yiisoft/yii2-dev: 2.0.4.
How do I check whether I am affected?
Run `phpwarden deps composer.lock`. phpwarden checks the exact version you have installed against this advisory.
Am I affected? Find out in one command. phpwarden checks your composer.lock against this advisory and 21,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.
# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden deps composer.lock
# or, without Composer
pipx install phpwarden && phpwarden deps composer.lockOr keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command
Install docs How findings are ranked Related advisories CVE-2024-58136 KEV critical yiisoft/yii2 Mishandles the Attaching of Behavior Defined by a `__class` Array Key same package: yiisoft/yii2 CVE-2024-4990 high Unsafe Reflection in base Component class in yiisoft/yii2 same package: yiisoft/yii2 CVE-2020-15148 high Unsafe deserialization in Yii 2 same package: yiisoft/yii2 CVE-2018-6010 high Yii Framework reflected Cross-site Scripting same package: yiisoft/yii2 CVE-2018-7269 critical Yii SQL injection vulnerability same package: yiisoft/yii2 CVE-2017-7271 medium Yii Framework Reflected XSS same package: yiisoft/yii2