CVE-2026-34951 Reflected XSS in footer.php in Workbench Allows Attackers to Hijack Authenticated Sessions

Medium 5.1 Published Updated

Attackers can execute arbitrary scripts in victims' browsers via reflected XSS in Workbench, potentially hijacking authenticated sessions.

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-2026-34951?

CVE-2026-34951 is a medium-severity cross-site scripting vulnerability in forceworkbench, published on 6 Apr 2026. 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

Workbench is a suite of tools for administrators and developers to interact with Salesforce.com organizations via the Force.com APIs. Prior to 65.0.0, Workbench contains a reflected cross-site scripting vulnerability via the footerScripts parameter, which does not sanitize user-supplied input before rendering it in the page response. Improper neutralization of input during web page generation ('cross-site scripting') vulnerability in Workbench allows XSS Targeting Error Pages. This vulnerability is fixed in 65.0.0.

Weakness: CWE-79

Which versions are affected by CVE-2026-34951?

It affects 1 product.

Products include Salesforce Workbench.

How do I fix CVE-2026-34951?

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

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

Sources

Also known as GHSA-j94x-h584-rjf9.

Is CVE-2026-34951 in your software?

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

Check your SBOMs for free