p PatchFirst

PatchFirst · Latest vulnerabilities

yiisoft/yii2 vulnerabilities

Vulnerabilities published for yiisoft/yii2 in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 12

  1. CVE-2026-39850

    High · CVSS 7.4EPSS 0.46%Fix available

    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 that loads the view file. As a result, a caller-controlled _file_ key in the $params array overwrites the internal local variable specifying which file to include, potentially enabling RCE if an attacker can write PHP files through a separate primitive, as well as information disclosure. This issue has been fixed in version 2.0.55.

    • Update to 2.0.55
    Published Updated
  2. CVE-2024-4990

    High · CVSS 8.1EPSS 80.1%Fix available

    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 classes, passing parameters to their constructors and invoking setter methods. Depending on the installed dependencies, various types of attacks are possible, including the execution of arbitrary code, retrieval of sensitive information, and unauthorized access.

    • Update to 2.0.49.4
    Published Updated
  3. CVE-2024-32877

    Medium · CVSS 4.2EPSS 0.35%Fix available

    Reflected Cross-site Scripting in yiisoft/yii2 Debug mode

    Yii 2 is a PHP application framework. During internal penetration testing of a product based on Yii2, users discovered a Cross-site Scripting (XSS) vulnerability within the framework itself. This issue is relevant for the latest version of Yii2 (2.0.49.3). This issue lies in the mechanism for displaying function argument values in the stack trace. The vulnerability manifests when an argument's value exceeds 32 characters. For convenience, argument values exceeding this limit are truncated and displayed with an added "...". The full argument value becomes visible when hovering over it with the mouse, as it is displayed in the title attribute o

    • Update to 2.0.49.4
    Published Updated
  4. CVE-2020-15148

    High · CVSS 8.9EPSS 77.54%Public exploitFix available

    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.

    • Update to 2.0.38
    Published Updated
  5. CVE-2018-6010

    High · CVSS 7.5EPSS 2.88%Fix available

    CVE-2018-6010

    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/errorHandler/exception.php.

    • Update to 2.0.14
    Published Updated
  6. CVE-2017-7271

    Medium · CVSS 6.1EPSS 1.04%Fix available

    CVE-2017-7271

    Reflected Cross-site scripting (XSS) vulnerability in Yii Framework before 2.0.11, when development mode is used, allows remote attackers to inject arbitrary web script or HTML via crafted request data that is mishandled on the debug-mode exception screen.

    • Update to 2.0.11
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →