KeygraphLabs · CVE MCP

CVE-2017-7271 · mitre

CVE-2017-7271

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.

Published 2017-03-27, last changed 2026-06-17. Weakness: CWE-79.

CVSS
6.1
medium, from NVD
EPSS
1.04%
percentile 65.2%, chance of exploitation in 30 days
Exploitation
None known
no KEV listing or public exploit in our indexes

How to fix

Upgrade to a fixed version: yiisoft/yii2 2.0.11 (Packagist). For the version that clears every advisory for your installed version, ask an agent for get_remediation.

Where the flaw is in the code

Fixed in yiisoft/yii2 by 97171a0db7, pull request #13401. Functions changed by the fix: renderRequest. Confidence: verified (a record names this commit as the fix, and it changed these functions).

Timeline

2017-03-27Published
2022-05-17Package advisory GHSA-4xh9-5vh8-3p58
2026-06-17Record last changed
2026-11-30EPSS when our history starts: 1.04%
2026-12-03Code-level analysis added

Affected packages

AdvisoryPackageFixed in
GHSA-4xh9-5vh8-3p58yiisoft/yii2 (Packagist)2.0.11

Also known as: GHSA-4xh9-5vh8-3p58

Related

CVEPublishedCVSSSummary
CVE-2026-398502026-05-207.4Yii 2: Local file inclusion via view parameter name collision
CVE-2024-58136 KEV2025-04-109.8same package: yiisoft/yii2 (Packagist)
CVE-2024-49902025-03-209.1Unsafe Reflection in base Component class in yiisoft/yii2
CVE-2024-328772024-05-304.7Reflected Cross-site Scripting in yiisoft/yii2 Debug mode
CVE-2015-54672023-09-219.8same package: yiisoft/yii2 (Packagist)
CVE-2023-267502023-04-049.8same package: yiisoft/yii2 (Packagist)
CVE-2020-151482020-09-1510Unsafe deserialization in Yii 2
CVE-2018-207452019-01-285.9same package: yiisoft/yii2 (Packagist)

Add it to your agent

One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.

claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp

Then ask for triage_cve CVE-2017-7271, or call /api/v1/vulnerabilities/CVE-2017-7271. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.

NVD · CVE.org