CVE-2019-6804: Rundeck Community Edition Cross-site Scripting Vulnerability
Summary
CVE-2019-6804: Rundeck Community Edition vulnerable to Cross-site Scripting. Affects org.rundeck:rundeck versions < 3.0.13. Fixed in 3.0.13. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Rundeck Community Edition is an open-source automation tool that helps with job scheduling and execution. It provides a web-based interface for managing workflows and executing tasks. The package 'org.rundeck:rundeck' is a Maven package that includes the Rundeck software. This vulnerability affects versions before 3.0.13 of Rundeck Community Edition.
Vulnerability Detail
The vulnerability identified as CVE-2019-6804 is a Cross-site Scripting (XSS) issue in Rundeck Community Edition. It specifically occurs on the Job Edit page and is related to the 'assets/javascripts/workflowStepEditorKO.js' and 'views/execution/_wfitemEdit.gsp' files. This vulnerability allows an attacker to inject malicious scripts into the web application, which can then be executed by unsuspecting users. The impact of this vulnerability can range from unauthorized access to sensitive information to complete compromise of the affected system.
How To Fix
Latest published version: 6.0.1-20260715 as of 22 Oct 2026
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
3.0.13
This is the first release that contains the fix.
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
As a temporary workaround, users can implement input validation and output encoding to prevent the execution of malicious scripts. This can be done by sanitizing user input and encoding output to ensure that any potentially dangerous characters are properly escaped. Here is an example of input validation and output encoding in Java:
// Input validation
String userInput =
request.getParameter("input");
if (userInput != null) {
userInput = userInput.replaceAll("<", "<").replaceAll(">", ">");
}
// Output encoding
String output = "<script>
alert('Hello');
</script>";
output = output.replaceAll("<", "<").replaceAll(">", ">");
response.getWriter().write(output);
Conclusion
In conclusion, the Rundeck Community Edition before version 3.0.13 is vulnerable to a Cross-site Scripting (XSS) issue. This vulnerability can have serious consequences, including unauthorized access and compromise of the affected system. It is crucial to upgrade to version 3.0.13 or later to mitigate this vulnerability. If you need further assistance or support in addressing this vulnerability, please contact DevNack.com.
See every vulnerability recorded for org.rundeck:rundeck →
FAQ
The impact of this vulnerability can range from unauthorized access to sensitive information to complete compromise of the affected system. Attackers can inject malicious scripts into the web application, which can then be executed by unsuspecting users.
You can use the Vulert Playground (https://vulert.com/scanner) to check if your application is affected by this vulnerability. Simply provide your 'pom.xml' file, and Vulert will analyze it for any open-source vulnerabilities, including this specific XSS issue in Rundeck Community Edition.
At the time of this report, there are no known public exploits for this vulnerability. However, it is important to promptly apply the recommended fixes to mitigate the risk of exploitation.
Yes, as a temporary workaround, you can implement input validation and output encoding to prevent the execution of malicious scripts. This involves sanitizing user input and encoding output to ensure that any potentially dangerous characters are properly escaped.
Yes, a patch is available in version 3.0.13 of Rundeck Community Edition. It is recommended to upgrade to this version or later to fix the XSS issue.
References
Related vulnerabilities
Recent vulnerabilities recorded for org.rundeck:rundeck.