CVE-2022-0542 Cross-site Scripting (XSS) - DOM in chatwoot/chatwoot

High 8.8 Published Updated

Attackers can execute arbitrary scripts in user browsers via DOM-based XSS in Chatwoot, potentially leading to session hijacking or data theft.

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

What is CVE-2022-0542?

CVE-2022-0542 is a high-severity cross-site scripting vulnerability in chatwoot/chatwoot, published on 19 Aug 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Cross-site Scripting (XSS) - DOM in GitHub repository chatwoot/chatwoot prior to 2.7.0.

Weakness: CWE-79

Which versions are affected by CVE-2022-0542?

It affects 1 product.

Products include Chatwoot Chatwoot.

How do I fix CVE-2022-0542?

No fix has been published for CVE-2022-0542 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-0542 being exploited?

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

Sources

Also known as GHSA-2h4c-86hw-hmr7.

Is CVE-2022-0542 in your software?

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

Check your SBOMs for free