{"kind": "product", "path": "vulns/packagist/yiisoft%2Fyii2", "name": "yiisoft/yii2", "product": "yiisoft/yii2", "ecosystem": "Packagist", "items": [{"id": "CVE-2026-39850", "noindex": false, "published": "2026-05-20T19:51:03.769Z", "modified": "2026-05-21T13:03:41.018Z", "cvss": 7.4, "cvss_vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N", "severity": "high", "epss": 0.00455, "kev": false, "exploits": [], "stacks": [{"name": "php", "path": "vulns/stack/php", "slug": "php"}], "path": "vulns/cve-2026-39850", "title": "Yii 2: Local file inclusion via view parameter name collision", "description": "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.", "references": ["https://github.com/yiisoft/yii2/security/advisories/GHSA-5vpg-rj7q-qpw2", "https://github.com/yiisoft/yii2/commit/109878b491dbffa541032bc99fb5e26d12cd0375", "https://nvd.nist.gov/vuln/detail/CVE-2026-39850"], "fixes": ["2.0.55"], "products": [{"name": "yiisoft/yii2", "path": "vulns/packagist/yiisoft%2Fyii2", "ecosystem": "Packagist"}]}, {"id": "CVE-2024-58136", "noindex": false, "published": "2025-04-10T00:00:00.000Z", "modified": "2025-10-21T22:55:21.228Z", "cvss": 9, "cvss_vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H", "severity": "critical", "epss": 0.87757, "kev": true, "exploits": ["nuclei"], "stacks": [{"name": "php", "path": "vulns/stack/php", "slug": "php"}], "path": "vulns/cve-2024-58136", "title": "CVE-2024-58136", "description": "Yii 2 before 2.0.52 mishandles the attaching of behavior that is defined by an __class array key, a CVE-2024-4990 regression, as exploited in the wild in February through April 2025.", "references": ["https://github.com/yiisoft/yii2/pull/20232", "https://github.com/yiisoft/yii2/pull/20232#issuecomment-2252459709", "https://github.com/yiisoft/yii2/commit/40fe496eda529fd1d933b56a1022ec32d3cd0b12"], "fixes": ["2.0.52"], "products": [{"name": "yiisoft/yii2", "path": "vulns/packagist/yiisoft%2Fyii2", "ecosystem": "Packagist"}]}, {"id": "CVE-2024-4990", "noindex": false, "published": "2025-03-20T10:11:14.988Z", "modified": "2025-03-20T13:31:05.950Z", "cvss": 8.1, "cvss_vector": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H", "severity": "high", "epss": 0.80097, "kev": false, "exploits": [], "stacks": [{"name": "php", "path": "vulns/stack/php", "slug": "php"}], "path": "vulns/cve-2024-4990", "title": "Unsafe Reflection in base Component class in yiisoft/yii2", "description": "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.", "references": ["https://huntr.com/bounties/4fbdd965-02b6-42e4-b57b-f98f93415b8f", "https://nvd.nist.gov/vuln/detail/CVE-2024-4990"], "fixes": ["2.0.49.4"], "products": [{"name": "yiisoft/yii2", "path": "vulns/packagist/yiisoft%2Fyii2", "ecosystem": "Packagist"}]}, {"id": "CVE-2024-32877", "noindex": false, "published": "2024-05-30T19:52:58.418Z", "modified": "2024-08-02T02:20:35.655Z", "cvss": 4.2, "cvss_vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N", "severity": "medium", "epss": 0.00347, "kev": false, "exploits": [], "stacks": [{"name": "php", "path": "vulns/stack/php", "slug": "php"}], "path": "vulns/cve-2024-32877", "title": "Reflected Cross-site Scripting in yiisoft/yii2 Debug mode", "description": "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", "references": ["https://github.com/yiisoft/yii2/security/advisories/GHSA-qg5r-95m4-mjgj", "https://github.com/yiisoft/yii2/commit/f7baab16e79f2369d4838ab5653c3c07ecf26615", "https://nvd.nist.gov/vuln/detail/CVE-2024-32877"], "fixes": ["2.0.49.4"], "products": [{"name": "yiisoft/yii2", "path": "vulns/packagist/yiisoft%2Fyii2", "ecosystem": "Packagist"}]}, {"id": "CVE-2015-5467", "noindex": false, "published": "2023-09-21T00:00:00.000Z", "modified": "2024-09-25T13:31:02.651Z", "cvss": 9.8, "cvss_vector": "", "severity": "critical", "epss": 0.00884, "kev": false, "exploits": [], "stacks": [{"name": "php", "path": "vulns/stack/php", "slug": "php"}], "path": "vulns/cve-2015-5467", "title": "CVE-2015-5467", "description": "web\\ViewAction in Yii (aka Yii2) 2.x before 2.0.5 allows attackers to execute any local .php file via a relative path in the view parameeter.", "references": ["https://www.yiiframework.com/news/87/yii-2-0-5-is-released-security-fix", "https://github.com/FriendsOfPHP/security-advisories/blob/master/yiisoft/yii2-dev/CVE-2015-5467.yaml", "https://nvd.nist.gov/vuln/detail/CVE-2015-5467"], "fixes": ["2.0.5"], "products": [{"name": "yiisoft/yii2", "path": "vulns/packagist/yiisoft%2Fyii2", "ecosystem": "Packagist"}]}, {"id": "CVE-2020-15148", "noindex": false, "published": "2020-09-15T18:25:12.000Z", "modified": "2024-08-04T13:08:21.907Z", "cvss": 8.9, "cvss_vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:H", "severity": "high", "epss": 0.77538, "kev": false, "exploits": ["nuclei"], "stacks": [{"name": "php", "path": "vulns/stack/php", "slug": "php"}], "path": "vulns/cve-2020-15148", "title": "Unsafe deserialization in Yii 2", "description": "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.", "references": ["https://github.com/yiisoft/yii2/security/advisories/GHSA-699q-wcff-g9mj", "https://github.com/yiisoft/yii2/commit/9abccb96d7c5ddb569f92d1a748f50ee9b3e2b99", "https://nvd.nist.gov/vuln/detail/CVE-2020-15148"], "fixes": ["2.0.38"], "products": [{"name": "yiisoft/yii2", "path": "vulns/packagist/yiisoft%2Fyii2", "ecosystem": "Packagist"}]}, {"id": "CVE-2018-20745", "noindex": false, "published": "2019-01-28T08:00:00.000Z", "modified": "2024-09-17T00:56:20.560Z", "cvss": 5.9, "cvss_vector": "", "severity": "medium", "epss": 0.00544, "kev": false, "exploits": [], "stacks": [{"name": "php", "path": "vulns/stack/php", "slug": "php"}], "path": "vulns/cve-2018-20745", "title": "CVE-2018-20745", "description": "Yii 2.x through 2.0.15.1 actively converts a wildcard CORS policy into reflecting an arbitrary Origin header value, which is incompatible with the CORS security design, and could lead to CORS misconfiguration security problems.", "references": ["https://www.usenix.org/system/files/conference/usenixsecurity18/sec18-chen.pdf", "https://github.com/yiisoft/yii2/issues/16193", "https://nvd.nist.gov/vuln/detail/CVE-2018-20745"], "fixes": ["2.0.16"], "products": [{"name": "yiisoft/yii2", "path": "vulns/packagist/yiisoft%2Fyii2", "ecosystem": "Packagist"}]}, {"id": "CVE-2018-6010", "noindex": false, "published": "2018-01-22T22:00:00.000Z", "modified": "2024-08-05T05:47:56.196Z", "cvss": 7.5, "cvss_vector": "", "severity": "high", "epss": 0.02883, "kev": false, "exploits": [], "stacks": [{"name": "php", "path": "vulns/stack/php", "slug": "php"}], "path": "vulns/cve-2018-6010", "title": "CVE-2018-6010", "description": "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.", "references": ["https://github.com/yiisoft/yii2/pull/15534", "https://github.com/yiisoft/yii2/commit/6b0be47e0fa9c532e03b07b4369050582fcf5c7a", "https://github.com/yiisoft/yii2/issues/14711"], "fixes": ["2.0.14"], "products": [{"name": "yiisoft/yii2", "path": "vulns/packagist/yiisoft%2Fyii2", "ecosystem": "Packagist"}]}, {"id": "CVE-2018-6009", "noindex": false, "published": "2018-01-22T22:00:00.000Z", "modified": "2024-08-05T05:47:56.235Z", "cvss": 8.8, "cvss_vector": "", "severity": "high", "epss": 0.00597, "kev": false, "exploits": [], "stacks": [{"name": "php", "path": "vulns/stack/php", "slug": "php"}], "path": "vulns/cve-2018-6009", "title": "CVE-2018-6009", "description": "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.", "references": ["https://github.com/yiisoft/yii2/commit/6c0540aa2d6e0fe0fa89e4fd35bba4be5d6cece7", "https://nvd.nist.gov/vuln/detail/CVE-2018-6009"], "fixes": ["2.0.14"], "products": [{"name": "yiisoft/yii2", "path": "vulns/packagist/yiisoft%2Fyii2", "ecosystem": "Packagist"}]}, {"id": "CVE-2017-11516", "noindex": false, "published": "2017-07-21T19:00:00.000Z", "modified": "2024-08-05T18:12:40.236Z", "cvss": 6.1, "cvss_vector": "", "severity": "medium", "epss": 0.00832, "kev": false, "exploits": [], "stacks": [{"name": "php", "path": "vulns/stack/php", "slug": "php"}], "path": "vulns/cve-2017-11516", "title": "CVE-2017-11516", "description": "An XSS vulnerability exists in framework/views/errorHandler/exception.php in Yii Framework 2.0.12 affecting the exception screen when debug mode is enabled, because $exception->errorInfo is mishandled.", "references": ["https://github.com/yiisoft/yii2/pull/14492", "https://github.com/yiisoft/yii2/pull/14492/files/feb4067de8a58f391a66e395192b0d83a8109b95", "https://nvd.nist.gov/vuln/detail/CVE-2017-11516"], "fixes": ["2.0.13"], "products": [{"name": "yiisoft/yii2", "path": "vulns/packagist/yiisoft%2Fyii2", "ecosystem": "Packagist"}]}, {"id": "CVE-2017-7271", "noindex": false, "published": "2017-03-27T17:00:00.000Z", "modified": "2024-08-05T15:56:36.368Z", "cvss": 6.1, "cvss_vector": "", "severity": "medium", "epss": 0.01042, "kev": false, "exploits": [], "stacks": [{"name": "php", "path": "vulns/stack/php", "slug": "php"}], "path": "vulns/cve-2017-7271", "title": "CVE-2017-7271", "description": "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.", "references": ["http://www.yiiframework.com/news/123/yii-2-0-11-is-released/", "https://github.com/yiisoft/yii2/commit/97171a0db7cda0a49931ee0c3b998ef50bd06756", "http://www.securityfocus.com/bid/97167"], "fixes": ["2.0.11"], "products": [{"name": "yiisoft/yii2", "path": "vulns/packagist/yiisoft%2Fyii2", "ecosystem": "Packagist"}]}, {"id": "CVE-2015-3397", "noindex": false, "published": "2015-05-14T00:00:00.000Z", "modified": "2024-08-06T05:47:57.434Z", "cvss": null, "cvss_vector": "", "severity": "unknown", "epss": 0.02381, "kev": false, "exploits": [], "stacks": [{"name": "php", "path": "vulns/stack/php", "slug": "php"}], "path": "vulns/cve-2015-3397", "title": "CVE-2015-3397", "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.", "references": ["http://www.securityfocus.com/bid/74663", "http://www.yiiframework.com/news/86/yii-2-0-4-is-released/", "https://github.com/yiisoft/yii2/blob/2.0.4/framework/CHANGELOG.md"], "fixes": ["2.0.4"], "products": [{"name": "yiisoft/yii2", "path": "vulns/packagist/yiisoft%2Fyii2", "ecosystem": "Packagist"}]}], "total": 12, "unknown_count": 0, "release_unconfirmed": false, "page": 1, "pages": 1, "filtered": false, "noindex": false, "filters": {}, "page_size": 20, "products": [{"name": "yiisoft/yii2", "path": "vulns/packagist/yiisoft%2Fyii2", "ecosystem": "Packagist"}], "stacks": [{"name": "system", "path": "vulns/stack/system", "slug": "system"}, {"name": "web", "path": "vulns/stack/web", "slug": "web"}, {"name": "php", "path": "vulns/stack/php", "slug": "php"}, {"name": "python", "path": "vulns/stack/python", "slug": "python"}, {"name": "node", "path": "vulns/stack/node", "slug": "node"}, {"name": "database", "path": "vulns/stack/database", "slug": "database"}, {"name": "containers", "path": "vulns/stack/containers", "slug": "containers"}, {"name": "network", "path": "vulns/stack/network", "slug": "network"}, {"name": "applications", "path": "vulns/stack/applications", "slug": "applications"}], "versions": [], "stats": {"recent": 0, "kev": 0}, "lastmod": "2026-05-21T13:03:41.018Z", "early_advisories": [], "license": "Vous pouvez librement utiliser la sélection de PatchFirst et nos ajouts (priorités, alertes précoces, textes, synthèses et agrégats) pour vos propres besoins, y compris les activités internes de votre entreprise. La revente, la distribution commerciale et la mise en miroir massive de cette sélection ou de ces ajouts nécessitent un accord écrit avec l’opérateur. Lors de toute utilisation ou publication de la sélection ou de nos ajouts, citez PatchFirst (https://patchfirst.dev/vulns/) avec ce lien vers la page du flux de votre région. Les enregistrements originaux des sources ouvertes restent soumis à leurs licences et conditions respectives. Ces conditions ne limitent pas vos droits sur les données originales, que vous pouvez obtenir directement auprès de ces sources.", "terms_url": "https://patchfirst.dev/fr/vulns/#feed-terms", "attribution": {"name": "PatchFirst", "url": "https://patchfirst.dev/vulns/"}, "source_changes": "PatchFirst sélectionne, normalise et combine les enregistrements ; des synthèses et des traductions peuvent être ajoutées. Les actualités sont accompagnées d’un lien vers la source originale dans chaque entrée.", "sources": [{"id": "cve", "name": "CVE List / CVE.org", "url": "https://www.cve.org/", "license": "CVE Terms of Use", "terms_url": "https://www.cve.org/Legal/TermsOfUse", "notice": "Copyright © 1999–2021, The MITRE Corporation. LICENSE Submissions : For all materials you submit to the Common Vulnerabilities and Exposures (CVE™), you hereby grant to The MITRE Corporation (MITRE) and all CVE Numbering Authorities (CNAs) a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute such materials and derivative works. Unless required by applicable law or agreed to in writing, you provide such materials on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. CVE Usage : MITRE hereby grants you a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute Common Vulnerabilities and Exposures (CVE™). Any copy you make for such purposes is authorized provided that you reproduce MITRE's copyright designation and this license in any such copy. DISCLAIMERS ALL DOCUMENTS AND THE INFORMATION CONTAINED THEREIN PROVIDED BY MITRE ARE PROVIDED ON AN \"AS IS\" BASIS AND THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE MITRE CORPORATION, ITS BOARD OF TRUSTEES, OFFICERS, AGENTS, AND EMPLOYEES, DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION THEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE."}, {"id": "osv", "name": "OSV", "url": "https://osv.dev/", "terms_url": "https://google.github.io/osv.dev/data/", "terms": "Les licences des bases d’origine varient ; voir le catalogue des sources."}, {"id": "kev", "name": "CISA KEV", "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog", "license": "CC0-1.0", "terms_url": "https://github.com/cisagov/kev-data/blob/develop/LICENSE"}, {"id": "epss", "name": "FIRST EPSS", "url": "https://www.first.org/epss/", "terms_url": "https://www.first.org/epss/faq", "terms": "Évaluations publiques gratuites ; mention de la source demandée (FIRST EPSS, évaluations produites par Empirical Security)."}, {"id": "github-advisory", "name": "GitHub Advisory Database", "url": "https://github.com/advisories", "license": "CC-BY-4.0", "terms_url": "https://github.com/github/advisory-database/blob/main/LICENSE.md"}, {"id": "exploitdb", "name": "Exploit-DB", "url": "https://www.exploit-db.com/", "license": "GPL-2.0", "terms_url": "https://gitlab.com/exploit-database/exploitdb/-/blob/main/LICENSE.md"}, {"id": "metasploit", "name": "Metasploit", "url": "https://github.com/rapid7/metasploit-framework", "license": "BSD-3-Clause", "terms_url": "https://github.com/rapid7/metasploit-framework/blob/master/LICENSE", "notice": "Copyright (c) 2006-2026, Rapid7, Inc.\nLicense: BSD-3-clause\n Redistribution and use in source and binary forms, with or without modification,\n are permitted provided that the following conditions are met:\n .\n * Redistributions of source code must retain the above copyright notice,\n this list of conditions and the following disclaimer.\n .\n * Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n .\n * Neither the name of Rapid7, Inc. nor the names of its contributors\n may be used to endorse or promote products derived from this software\n without specific prior written permission.\n .\n THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR\n ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\n LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\n ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."}, {"id": "nuclei", "name": "Nuclei Templates", "url": "https://github.com/projectdiscovery/nuclei-templates", "license": "MIT", "terms_url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/LICENSE.md", "notice": "MIT License\n\nCopyright (c) 2025 ProjectDiscovery, Inc.\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE."}, {"id": "linux-kernel", "name": "Linux kernel releases", "url": "https://www.kernel.org/", "license": "CC-BY-SA-4.0", "terms_url": "https://www.kernel.org/legal.html", "notice": "Copyright (C) 1997-2014 by The Linux Kernel Organization, Inc."}]}