CVE-2022-4898 Cross-site scripting in Octopus Server

Medium 5.4 Published Updated

Attackers can inject scripts into the support link in the help sidebar, potentially executing code or hijacking user sessions.

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
None listed

What is CVE-2022-4898?

CVE-2022-4898 is a medium-severity cross-site scripting vulnerability in Octopus Octopus Server, published on 31 Jan 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

In affected versions of Octopus Server the help sidebar can be customized to include a Cross-Site Scripting payload in the support link. This was initially resolved in advisory 2022-07 however it was identified that the fix could be bypassed in certain circumstances. A different approach was taken to prevent the possibility of the support link being susceptible to XSS

Weakness: CWE-79

Which versions are affected by CVE-2022-4898?

It affects 1 product.

Products include Octopus Octopus Server.

How do I fix CVE-2022-4898?

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

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

All Octopus Octopus Server vulnerabilities

Sources

Also known as GHSA-4gvq-c37w-77wr.

Is CVE-2022-4898 in your software?

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

Check your SBOMs for free