Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. yiisoft/yii2
  4. ›
  5. CVE-2024-32877

CVE-2024-32877: Reflected Cross-site Scripting in yiisoft/yii2 Debug mode

June 2, 2024

During the internal penetration testing of our product based on Yii2, we discovered an XSS vulnerability within the framework itself. This issue is relevant for the latest version of Yii2 (2.0.49.3).

References

  • github.com/advisories/GHSA-qg5r-95m4-mjgj
  • github.com/yiisoft/yii2
  • github.com/yiisoft/yii2/commit/f7baab16e79f2369d4838ab5653c3c07ecf26615
  • github.com/yiisoft/yii2/security/advisories/GHSA-qg5r-95m4-mjgj
  • nvd.nist.gov/vuln/detail/CVE-2024-32877

Code Behaviors & Features

Detect and mitigate CVE-2024-32877 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.49.3 before 2.0.50, version 2.0.49.3

Fixed versions

  • 2.0.50

Solution

Upgrade to version 2.0.50 or above.

Impact 4.2 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/yiisoft/yii2/CVE-2024-32877.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:49 +0000.