Advisory record · GHSA-x87m-36g7-6mpw

Yii2 Gii Cross-site Scripting vulnerability

CVSS 5.4 MediumEPSS 0.0068 · 47th percentile

Published by the GitHub Advisory Database at 10 Dec 2022, 00:30 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
yiisoft/yii2-giiPackagist<=2.2.4No fixed version yet
Identifiers
GHSA-x87m-36g7-6mpw · CVE-2022-34297 · PKSA-bbgw-mkqz-n76v
Weakness (CWE)
CWE-79
Published
10 Dec 2022
Updated
23 Apr 2025

Machine-written summary

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

yiisoft/yii2-gii versions up to and including 2.2.4 are affected by a cross-site scripting issue. Input in fields such as Message Category in the Model, CRUD and Form Generators, and Author Name in the Extension Generator, is cached without sanitisation when Preview is pressed, so an attacker who can submit these fields can have script stored and then run in the browsers of users who visit the affected pages. No fixed version is listed.

Written 3 Nov 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
5.4 Medium 3.1 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N GitHub Advisory Database
  • CISA KEV Not listed.
  • EPSS 0.0068, the 47th percentile, on 25 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:27 UTC First seen by agentprime
  2. 31 Oct 2026, 14:27 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.