CVE-2025-49587
Java vulnerability analysis and mitigation

Overview

CVE-2025-49587 affects XWiki, an open-source wiki software platform. The vulnerability was discovered and disclosed on June 13, 2025. It involves a security issue where a user without script rights can create a document with an XWiki.Notifications.Code.NotificationDisplayerClass object containing malicious content, which can then be activated when an admin edits and saves that document (GitHub Advisory).

Technical details

The vulnerability is related to the XWiki.Notifications.Code.NotificationDisplayerClass functionality, where malicious content in notification templates can be output as raw HTML, enabling XSS attacks. While the notification displayer executes Velocity code, the existing generic analyzer provides warnings before editing Velocity code. The vulnerability has been assigned a CVSS v4.0 score of 6.4 (Medium) with the vector string CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H (GitHub Advisory).

Impact

When exploited, this vulnerability allows attackers to execute XSS (Cross-Site Scripting) attacks through the notification system. The impact is particularly significant as it affects subsequent systems with high confidentiality, integrity, and availability implications, despite not directly impacting the vulnerable system (GitHub Advisory, Wiz).

Mitigation and workarounds

The vulnerability has been patched in XWiki versions 15.10.16, 16.4.7, and 16.10.2 by adding a required rights analyzer that warns administrators before editing potentially malicious code. For unpatched systems, the only workaround is to exercise caution when editing documents previously modified by untrusted users, especially when using script, admin, or programming rights (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66516CRITICAL10
  • JavaJava
  • tika
NoYesDec 04, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • org.lz4:lz4-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
CVE-2025-11222MEDIUM6.1
  • JavaJava
  • com.linecorp.centraldogma:centraldogma-server-auth-shiro
NoYesDec 04, 2025
CVE-2025-66453MEDIUM5.5
  • JavaJava
  • org.mozilla:rhino
NoYesDec 03, 2025

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