CVE-2022-31133 Cross site scripting in HumHub

Medium 5.9 Published Updated

An attacker with space administration privileges can inject malicious JavaScript into space names, potentially compromising other users who visit those spaces.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-31133?

CVE-2022-31133 is a medium-severity cross-site scripting vulnerability in humhub, published on 7 Jul 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-79

Which versions are affected by CVE-2022-31133?

It affects 1 product.

Products include Humhub Humhub.

How do I fix CVE-2022-31133?

No fix has been published for CVE-2022-31133 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2022-31133 being exploited?

There is no known exploitation of CVE-2022-31133 in the wild and no public exploit code.

Sources

Also known as GHSA-p7h3-73v7-959c.

Is CVE-2022-31133 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free