Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: 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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2017-7271
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:19 UTC · Revision 1

Source evidence

CVE-2017-7271

core-osv · Original source

Published 27 Mar 2017, 17:59 UTC

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.

osv:CVE-2017-7271
Complete source record
{
  "id": "501d85ed820099f1bc627bde3f894355d40061d5694c52a0c3cbfdd992b75578",
  "url": "https://osv.dev/vulnerability/CVE-2017-7271",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2017-7271",
    "summary": "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.",
    "evidence": "osv:CVE-2017-7271",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2017-7271",
      "aliases": [
        "CVE-2017-7271",
        "GHSA-4xh9-5vh8-3p58"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/yiisoft/yii2",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "11fe407ad0af51765fbd35e008d0986f7f3bb840"
                },
                {
                  "fixed": "97171a0db7cda0a49931ee0c3b998ef50bd06756"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:yii_software:yii:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "2.0.10"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "97171a0db7cda0a49931ee0c3b998ef50bd06756"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.0.10",
            "2.0.9",
            "2.0.8",
            "2.0.7",
            "2.0.6",
            "2.0.4",
            "2.0.3",
            "2.0.2",
            "2.0.0-rc",
            "2.0.0-beta",
            "2.0.0-alpha"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2017-7271.json"
          }
        }
      ],
      "modified": "2026-10-20T10:50:08.975487953Z",
      "provider": "osv",
      "references": [
        "https://github.com/yiisoft/yii2/commit/97171a0db7cda0a49931ee0c3b998ef50bd06756",
        "https://github.com/yiisoft/yii2/pull/13401"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2017-7271",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 381346,
  "published_at": "2017-03-27T17:59:00.947+00:00"
}