{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:humhub:humhub:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "1.10.5"
              },
              {
                "introduced": "1.11.0"
              },
              {
                "fixed": "1.11.4"
              }
            ],
            "source": [
              "CPE_RANGE",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "527f55e44fff2a3928a8c56f366ce193050b15e8"
            },
            {
              "introduced": "bb9cb30610e261d7fed169b47758b0df4d472a8c"
            },
            {
              "fixed": "44d4ecb16fac1e2b50fc85a5751067e0e23e1e94"
            },
            {
              "fixed": "07d9f8f9b6334970ee38156a3416c3708d157cae"
            },
            {
              "fixed": "f88991dfe56a05870df165ac89a2755dd4c1ffa1"
            }
          ],
          "repo": "https://github.com/humhub/humhub",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-p7h3-73v7-959c"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31133.json"
  },
  "details": "HumHub is an Open Source Enterprise Social Network. Affected versions of HumHub are vulnerable to a stored Cross-Site Scripting (XSS) vulnerability. For exploitation, the attacker would need a permission to administer the Spaces feature. The names of individual \"spaces\" are not properly escaped and so an attacker with sufficient privilege could insert malicious javascript into a space name and exploit system users who visit that space. It is recommended that the HumHub is upgraded to 1.11.4, 1.10.5. There are no known workarounds for this issue.",
  "id": "CVE-2022-31133",
  "modified": "2026-07-15T01:48:51.213277310Z",
  "published": "2022-07-07T17:45:12Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://huntr.dev/bounties/89d996a2-de30-4261-8e3f-98e54cb25f76"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31133.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/humhub/humhub/security/advisories/GHSA-p7h3-73v7-959c"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-31133"
    },
    {
      "type": "FIX",
      "url": "https://github.com/humhub/humhub/commit/07d9f8f9b6334970ee38156a3416c3708d157cae"
    },
    {
      "type": "FIX",
      "url": "https://github.com/humhub/humhub/commit/f88991dfe56a05870df165ac89a2755dd4c1ffa1"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Cross site scripting in HumHub"
}