CVE-2025-30755 Cross-site scripting in OpenGrok

Medium 6.1 Published Updated

Attackers can execute arbitrary scripts in victim browsers via unsanitized input in OpenGrok's cross reference page.

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-2025-30755?

CVE-2025-30755 is a medium-severity cross-site scripting vulnerability in Oracle Corporation OpenGrok, published on 18 Sep 2025. 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

OpenGrok 1.14.1 has a reflected Cross-Site Scripting (XSS) issue when producing the cross reference page. This happens through improper handling of the revision parameter. The application reflects unsanitized user input into the HTML output.

Weakness: CWE-79

Which versions are affected by CVE-2025-30755?

It affects 1 product.

Products include Oracle Opengrok.

How do I fix CVE-2025-30755?

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

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

Sources

Also known as GHSA-g72g-g4r6-833h.

Is CVE-2025-30755 in your software?

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

Check your SBOMs for free