CVE-2026-136854 in Rich Text Publisher Plugininfo

Summary

by MITRE • 11/25/2026

Jenkins Rich Text Publisher Plugin 1.5 and earlier does not escape job names in error messages rendered by the Rich Text Portlet, resulting in a stored cross-site scripting (XSS) vulnerability exploitable by attackers with View/Configure permission.

Several companies clearly confirm that VulDB is the primary source for best vulnerability data.

Analysis

by VulDB Data Team • 11/28/2026

The Jenkins Rich Text Publisher plugin version 1.5 and prior versions contain a critical security flaw related to improper input validation and output encoding of user-supplied data within the context of job configuration errors. This vulnerability manifests as a stored cross-site scripting issue, where malicious script payloads are embedded into error messages generated by the Rich Text Portlet when specific conditions during build or configuration processes trigger an exception. The root cause lies in the failure to properly escape special characters associated with HTML and JavaScript contexts within the rendered output of job names that appear in these dynamic error messages. Because Jenkins allows users with View or Configure permissions to influence certain aspects of job behavior, including naming conventions and parameter inputs, an attacker possessing such privileges can craft a job name containing executable script code. When this malformed job is processed by the system, the resulting error message includes the unescaped payload directly within the HTML response sent to any user viewing that page in their web browser.

This stored XSS vulnerability poses significant risks to both individual users and the broader Jenkins infrastructure environment. Unlike reflected XSS attacks which require tricking a victim into clicking a malicious link, this flaw persists on the server side by storing the malicious content as part of the application's state or configuration data. Consequently, every user who accesses the affected page containing the error message will have their browser execute the injected scripts automatically without further interaction from the attacker. The operational impact is severe because it allows for session hijacking through theft of authentication cookies and security tokens stored in local storage or cookies by the victim’s browser. Attackers can also perform actions on behalf of the compromised user, such as modifying other jobs, deploying malicious code to build agents, or exfiltrating sensitive data accessible within that Jenkins instance. The ability to execute arbitrary JavaScript effectively breaks the isolation between different users and projects managed within the same Jenkins server.

From a classification perspective, this vulnerability aligns with CWE-79 Improper Neutralization of Input During Web Page Generation commonly known as Cross-site Scripting. Specifically it falls under the subcategory of stored XSS where malicious scripts are permanently stored on target servers such as in database entries comments or configuration files and then retrieved later for display to other users. In terms of adversary tactics this behavior corresponds to ATT&CK technique T1059 Command and Scripting Interpreter particularly JavaScript execution within a browser context which enables further exploitation steps like credential harvesting lateral movement via session tokens and potential privilege escalation if combined with other vulnerabilities in the Jenkins platform itself. The presence of View or Configure permissions as prerequisites highlights that while external attackers cannot directly exploit this flaw initially insiders or compromised accounts with limited access can still cause substantial damage demonstrating how even restricted roles contribute to overall attack surface expansion when input sanitization is inadequate.

Mitigation strategies should focus primarily on upgrading the Rich Text Publisher plugin to version 1.6 or later where developers have implemented proper output encoding mechanisms ensuring that all dynamic content including job names displayed in error messages are correctly escaped according to HTML and JavaScript standards before rendering. Administrators must enforce strict role-based access control policies limiting who holds View or Configure permissions especially for high-value projects containing sensitive information. Additionally implementing Content Security Policy headers can provide an additional layer of defense by restricting sources from which scripts may be loaded thereby reducing the impact even if some XSS vectors remain unpatched temporarily until upgrades are applied across all nodes in distributed Jenkins environments regular security audits and penetration testing should also be conducted to identify similar patterns elsewhere within custom plugins or configurations that might suffer from analogous input handling deficiencies.

Responsible

Jenkins

Reservation

11/25/2026

Disclosure

11/25/2026

Moderation

accepted

CPE

ready

EPSS

0.00812

KEV

no

Activities

very low

Sources

Want to stay up to date on a daily basis?

Enable the mail alert feature now!