CVE-2022-46870 Apache Zeppelin: Stored XSS in note permissions

Medium 5.4 Published Updated

Logged-in users can execute arbitrary JavaScript in other users' browsers via stored XSS in note permissions, requiring an upgrade to mitigate.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2022-46870?

CVE-2022-46870 is a medium-severity cross-site scripting vulnerability in Apache Zeppelin, published on 16 Dec 2022. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

An Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Apache Zeppelin allows logged-in users to execute arbitrary javascript in other users' browsers. This issue affects Apache Zeppelin before 0.8.2. Users are recommended to upgrade to a supported version of Zeppelin.

Weakness: CWE-79

Which versions are affected by CVE-2022-46870?

2 open source packages ship an affected version, including org.apache.zeppelin:zeppelin. It affects 1 product.

PackageAffectedFixed in
org.apache.zeppelin:zeppelin MavenAll versions0.8.2
org.apache.zeppelin:zeppelin MavenAll versions0.8.2

Products include Apache Zeppelin.

How do I fix CVE-2022-46870?

Upgrade org.apache.zeppelin:zeppelin to 0.8.2 or later.

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-46870 being exploited?

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

Sources

Also known as GHSA-9p8j-hrgf-jc2g.

Is CVE-2022-46870 in your software?

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

Check your SBOMs for free