CVE-2022-41562
High · 8.4CVSS
8.4
EPSS
0.8%
Published
Dec 13, 2022
CISA due date
—
Cloudanix analysis
A flaw in a business reporting tool lets administrators trick other users into running harmful code in their browsers, which could let attackers steal data or take control of reports.
- Exploitation
- Requires User Interaction
- Attacker needs
- High Privilege
- Complexity
- Low
- Impact
- Full Compromise
- Component
- Application
- Class
- XSS
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The HTML escaping component fails to properly sanitize input, allowing a privileged attacker to inject and execute arbitrary JavaScript in the context of other users' sessions via network-accessible administrative interfaces.
Why it matters to the business
Successful exploitation can lead to full administrative takeover of reporting servers, data exfiltration, or unauthorized changes to sensitive business reports and dashboards, increasing operational risk for organizations relying on these servers for analytics.
How an attack unfolds
An authenticated administrative user crafts a malicious payload that bypasses HTML escaping and stores it in a shared report or dashboard; when another user with sufficient privileges views the content, the script executes in their browser, enabling session hijacking or further actions.
How to fix it
Upgrade all instances of TIBCO JasperReports Server, Community Edition, Developer Edition, and marketplace/Azure variants to the latest vendor-released versions that address the escaping flaw; apply any available security patches immediately and restrict administrative interface exposure.
How to confirm the fix worked
Review release notes for versions after 8.1.0 to confirm the HTML escaping fix is present; test by attempting known XSS payloads in administrative views and verify they are neutralized; scan configurations for proper input sanitization enforcement.
Typical attack path
- Attacker obtains administrative credentials or network access to the JasperReports Server.
- Attacker injects unsanitized HTML/JS payload into a report definition, parameter, or UI element.
- Payload is stored and served to other authenticated users.
- Victim user interacts with the affected page, triggering script execution.
- Attacker leverages the resulting browser context for data theft or privilege escalation.
How to detect it
Examine web server and application logs for requests containing script tags, event handlers, or encoded JavaScript payloads submitted to administrative endpoints; monitor for unexpected changes to report templates or dashboard definitions by privileged accounts.
- <script>
- onerror=
- javascript:
- data:text/html
What your security team should do
- Prioritize patching or upgrading all affected JasperReports Server deployments within the next 30 days given the administrative access requirement.
- Limit network exposure of administrative interfaces to trusted subnets only.
- Implement web application firewall rules to block common XSS patterns targeting reporting endpoints.
- Conduct regular audits of report definitions and user-generated content for suspicious scripts.
The record
The HTML escaping component of TIBCO Software Inc.'s TIBCO JasperReports Server, TIBCO JasperReports Server, TIBCO JasperReports Server - Community Edition, TIBCO JasperReports Server - Developer Edition, TIBCO JasperReports Server for AWS Marketplace, TIBCO JasperReports Server for AWS Marketplace, TIBCO JasperReports Server for Microsoft Azure, and TIBCO JasperReports Server for Microsoft Azure contains an easily exploitable vulnerability that allows a privileged/administrative attacker with network access to execute an XSS attack on the affected system. A successful attack using this vulnerability requires human interaction from a person other than the attacker. Affected releases are TIBCO Software Inc.'s TIBCO JasperReports Server: versions 8.0.2 and below, TIBCO JasperReports Server: version 8.1.0, TIBCO JasperReports Server - Community Edition: versions 8.1.0 and below, TIBCO JasperReports Server - Developer Edition: versions 8.1.0 and below, TIBCO JasperReports Server for AWS Marketplace: versions 8.0.2 and below, TIBCO JasperReports Server for AWS Marketplace: version 8.1.0, TIBCO JasperReports Server for Microsoft Azure: versions 8.0.2 and below, and TIBCO JasperReports Server for Microsoft Azure: version 8.1.0.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Bitnami | jasperreports | 0 | 8.0.2 |
| Ubuntu:16.04:LTS | jasperreports | 0 | No fix |
| Ubuntu:18.04:LTS | jasperreports | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | jasperreports | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | jasperreports | 0 | No fix |
Related vulnerabilities
- CVE-2022-41563 The Dashboard component of TIBCO Software Inc.'s TIBCO JasperReports Server, TIBCO… Also affects jasperreports
- CVE-2022-41561 The JNDI Data Sources component of TIBCO Software Inc.'s TIBCO JasperReports Server… Also affects jasperreports
- CVE-2022-22771 The Server component of TIBCO Software Inc.'s TIBCO JasperReports Library, TIBCO… Also affects jasperreports
- CVE-2024-3325 Vulnerability in Jaspersoft JasperReport Servers.This issue affects JasperReport Servers… Also affects jasperreports
- CVE-2018-5430 The Spring web flows of TIBCO Software Inc.'s TIBCO JasperReports Server, TIBCO… Also affects jasperreports
- CVE-2026-96379 Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")… CWE-79
- CVE-2026-96382 Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")… CWE-79
- CVE-2026-96368 Improper Neutralization of Input During Web Page Generation ("Cross-site Scripting")… CWE-79