Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2018-16832

CSRF in the anti-csrf decorator in xunfeng 0.2.0 allows an attacker to modify the configuration via a Flash file because views/lib/AntiCSRF.py can overwrite the request.host value with the content of the X-Forwarded-Host HTTP header.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2018-16832
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 09:57 UTC · Revision 1

Source evidence

CVE-2018-16832

core-osv · Original source

Published 11 Sept 2018, 13:29 UTC

CSRF in the anti-csrf decorator in xunfeng 0.2.0 allows an attacker to modify the configuration via a Flash file because views/lib/AntiCSRF.py can overwrite the request.host value with the content of the X-Forwarded-Host HTTP header.

osv:CVE-2018-16832
Complete source record
{
  "id": "23ca22e7455fbecae582306da6f93ea2c82c0b776f3640f581d57a0bfb500d9c",
  "url": "https://osv.dev/vulnerability/CVE-2018-16832",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2018-16832",
    "summary": "CSRF in the anti-csrf decorator in xunfeng 0.2.0 allows an attacker to modify the configuration via a Flash file because views/lib/AntiCSRF.py can overwrite the request.host value with the content of the X-Forwarded-Host HTTP header.",
    "evidence": "osv:CVE-2018-16832",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2018-16832",
      "aliases": [
        "CVE-2018-16832"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/ysrc/xunfeng",
              "type": "GIT",
              "events": [
                {
                  "introduced": "5023674cfcb387b90c1603d3a5ae078fb1021d7f"
                },
                {
                  "last_affected": "5023674cfcb387b90c1603d3a5ae078fb1021d7f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:xunfeng_project:xunfeng:0.2.0:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0.2.0"
                      },
                      {
                        "last_affected": "0.2.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.2.0",
            "v0.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-16832.json"
          }
        }
      ],
      "modified": "2026-10-20T10:49:24.630274084Z",
      "provider": "osv",
      "references": [
        "https://github.com/ysrc/xunfeng/issues/177"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2018-16832",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 380463,
  "published_at": "2018-09-11T13:29:01.45+00:00"
}