CVE-2022-30278 Cross-site scripting in Black Duck Hub

Medium 6.1 Published Updated

An unauthenticated remote attacker can execute cross-site scripting attacks via malicious links in Black Duck Hub documentation, potentially stealing sensitive browser information.

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-30278?

CVE-2022-30278 is a medium-severity cross-site scripting vulnerability in Synopsys Black Duck Hub, published on 10 May 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

A vulnerability in Black Duck Hub’s embedded MadCap Flare documentation files could allow an unauthenticated remote attacker to conduct a cross-site scripting attack. The vulnerability is due to improper validation of user-supplied input to MadCap Flare's framework embedded within Black Duck Hub's Help Documentation to supply content. An attacker could exploit this vulnerability by convincing a user to click a link designed to pass malicious input to the interface. A successful exploit could allow the attacker to conduct cross-site scripting attacks and gain access to sensitive browser-based information.

Weakness: CWE-79

Which versions are affected by CVE-2022-30278?

It affects 1 product.

Products include Synopsys Black Duck Hub.

How do I fix CVE-2022-30278?

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

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

Sources

Also known as GHSA-rrp3-4pgp-rgch.

Is CVE-2022-30278 in your software?

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

Check your SBOMs for free