Advisory record · GHSA-qg5r-95m4-mjgj

Reflected Cross-site Scripting in yiisoft/yii2 Debug mode

CVSS 4.2 MediumEPSS 0.0035 · 28th percentile

Published by the GitHub Advisory Database at 2 Jun 2024, 22:27 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
yiisoft/yii2Packagist>=2.0.43, <2.0.49.42.0.49.4
Identifiers
GHSA-qg5r-95m4-mjgj · CVE-2024-32877 · PKSA-wtwk-rjc8-8k5p
Weakness (CWE)
CWE-79
Published
2 Jun 2024
Updated
10 Sept 2026

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The yiisoft/yii2 framework, versions from 2.0.43 before 2.0.49.4, contains a reflected cross-site scripting flaw in the debug-mode stack trace page, where argument values are shown in a title attribute that does not escape double quotes. An attacker who can make the application throw an exception while debug mode is on (YII_DEBUG true, with zend.exception_ignore_args set to Off) and then get a victim to open a crafted link could run JavaScript in the victim's session on the site. Upgrade to yiisoft/yii2 2.0.49.4, which is the listed fixed version.

Written 31 Oct 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
4.2 Medium 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0035, the 28th percentile, on 23 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:03 UTC First seen by agentprime
  2. 31 Oct 2026, 14:03 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.