Skip to content
OpenAdvisories

Package · Packagist

yiisoft/yii2

12 known vulnerabilities.

5 results · Clear filters · Feed

  • High 7.4

    Yii 2: Local file inclusion via view parameter name collision

    Yii 2 is a PHP application framework. Versions 2.0.54 and prior contain flawed logic in the core view rendering method View::renderPhpFile() that leads to Local File Inclusion. The function calls extract($_params_, EXTR_OVERWRITE) before the require statement…

  • High 8.1
    CVE-2024-4990 EPSS 80%

    Unsafe Reflection in base Component class in yiisoft/yii2

    In yiisoft/yii2 version 2.0.48, the base Component class contains a vulnerability where the `__set()` magic method does not validate that the value passed is a valid Behavior class name or configuration. This allows an attacker to instantiate arbitrary classe…

  • High 8.9
    CVE-2020-15148 Public exploit Scanner template EPSS 78%

    Unsafe deserialization in Yii 2

    Yii 2 (yiisoft/yii2) before version 2.0.38 is vulnerable to remote code execution if the application calls `unserialize()` on arbitrary user input. This is fixed in version 2.0.38. A possible workaround without upgrading is available in the linked advisory.

  • High 7.5

    Yii Framework reflected Cross-site Scripting

    In Yii Framework 2.x before 2.0.14, remote attackers could obtain potentially sensitive information from exception messages, or exploit reflected XSS on the error handler page in non-debug mode. Related to base/ErrorHandler.php, log/Dispatcher.php, and views/…

  • High 8.8

    Yii Framework Cross-Site Request Forgery (CSRF)

    In Yii Framework 2.x before 2.0.14, the switchIdentity function in web/User.php did not regenerate the CSRF token upon a change of identity.