GHSA-4c64-w8fg-xcq2

Suggest an improvement
Source
https://github.com/advisories/GHSA-4c64-w8fg-xcq2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-4c64-w8fg-xcq2/GHSA-4c64-w8fg-xcq2.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-4c64-w8fg-xcq2
Aliases
Published
2022-05-17T02:26:08Z
Modified
2024-04-24T18:56:58.644644Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Yii Cross-site Scripting Framework vulnerability
Details

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.

Database specific
{
    "nvd_published_at": "2017-07-21T19:29:00Z",
    "cwe_ids": [
        "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2024-04-24T18:32:51Z"
}
References

Affected packages

Packagist / yiisoft/yii2-dev

Package

Name
yiisoft/yii2-dev
Purl
pkg:composer/yiisoft/yii2-dev

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.12
Fixed
2.0.13

Affected versions

2.*

2.0.12
2.0.12.1
2.0.12.2

Packagist / yiisoft/yii2

Package

Name
yiisoft/yii2
Purl
pkg:composer/yiisoft/yii2

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.0.12
Fixed
2.0.13

Affected versions

2.*

2.0.12
2.0.12.1
2.0.12.2