CVE-2020-24604
Openfire vulnerability analysis and mitigation

Overview

A Reflected XSS vulnerability was discovered in Ignite Realtime Openfire version 4.5.1. The vulnerability allows remote attackers to inject arbitrary web script or HTML via the GET request parameters "searchName", "searchValue", "searchDescription", "searchDefaultValue", "searchPlugin", and "searchDynamic" in server-properties.jsp and security-audit-viewer.jsp files (NVD).

Technical details

The vulnerability is classified as a Cross-Site Scripting (XSS) attack that enables arbitrary code execution in a user's browser while connected to a trusted website. The application serves as a vehicle for the attack, targeting application users rather than the application itself. The vulnerability has a CVSS v3.1 Base Score of 6.1 (Medium) with vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N (NVD, CSW).

Impact

The vulnerability can lead to stealing cookies, end-user files disclosure, and redirection of users to malicious pages or sites. When exploited, the XSS payload is executed whenever the user views the crafted request containing the malicious payload (CSW).

Exploitability

The vulnerability was discovered on February 4, 2020, and can be exploited by injecting malicious JavaScript payloads through various GET request parameters. A proof of concept demonstrated successful exploitation in Openfire version 4.5.0, where malicious payloads could be executed on the victim's browser upon visiting affected pages (CSW).

Mitigation and workarounds

Recommended mitigations include performing context-sensitive encoding of untrusted input before echoing back to a browser using an encoding library, implementing input validation for special characters on all variables reflecting in the browser and storing in the database, and implementing client-side validation (CSW).

Additional resources


SourceThis report was generated using AI

Related Openfire vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-25421CRITICAL9.8
  • Java logoJava
  • org.igniterealtime.openfire:xmppserver
NoYesMar 26, 2024
CVE-2023-32315HIGH7.5
  • Java logoJava
  • cpe:2.3:a:igniterealtime:openfire
YesYesMay 26, 2023
CVE-2024-25420HIGH7.2
  • Java logoJava
  • org.igniterealtime.openfire:xmppserver
NoYesMar 26, 2024
CVE-2025-59154MEDIUM5.9
  • Java logoJava
  • org.igniterealtime.openfire:xmppserver
NoYesSep 15, 2025
CVE-2020-36956MEDIUM5.1
  • Openfire logoOpenfire
  • cpe:2.3:a:igniterealtime:openfire
NoYesJan 26, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management