CVE-2025-53835: XWiki Rendering Vulnerable to XSS Attacks via Insecure XHTML Syntax

Summary

14/07/2025
Yes i
Critical
9.0

CVE-2025-53835: XWiki Rendering is vulnerable to XSS attacks through insecure XHTML syntax. Affects org.xwiki.rendering:xwiki-rendering-syntax-xhtml versions >= 5.4.5, < 14.10. Fixed in 14.10. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

XWiki Rendering is a component of the XWiki platform that allows for the rendering of content in various formats, including XHTML. It is widely used for creating and managing web content in a collaborative environment. The package 'org.xwiki.rendering:xwiki-rendering-syntax-xhtml' specifically handles the XHTML syntax, enabling users to format their documents accordingly. However, a critical vulnerability has been identified that exposes users to cross-site scripting (XSS) attacks, particularly affecting those who can edit documents such as user profiles.

Vulnerability Detail

The vulnerability arises from the XHTML syntax's dependency on the 'xdom+xml/current' syntax, which permits the creation of raw blocks that can include arbitrary HTML content, including JavaScript. This flaw allows attackers to exploit the system by inserting malicious scripts into documents, leading to potential XSS attacks. Users with editing privileges can unknowingly introduce harmful content, compromising the security of the application and its users.

How To Fix

Minimum fixed version

14.10

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

Currently, there are no known workarounds apart from upgrading to the patched version. It is advised not to use the 'xdom+xml' syntax as it remains vulnerable and is not intended for regular use.

Conclusion

The XWiki Rendering component is vulnerable to XSS attacks due to its reliance on an insecure XHTML syntax. Users are strongly encouraged to upgrade to version 14.10 or later to mitigate this risk. Regular monitoring and vulnerability assessments, such as those provided by Vulert, can help maintain application security.

See every vulnerability recorded for org.xwiki.rendering:xwiki-rendering-syntax-xhtml →

Share this vulnerability

FAQ

CVE-2025-53835 is a critical vulnerability in the XWiki Rendering component that allows for XSS attacks through insecure XHTML syntax.

You can check if your application is affected by using the Vulert playground at Vulert Scanner, which analyzes your pom.xml for vulnerabilities.

Exploitation of this vulnerability can lead to unauthorized script execution, compromising user data and application integrity.

Yes, the vulnerability has been patched in version 14.10 of the affected package. Users should upgrade to this version to mitigate the risk.

If an immediate upgrade is not possible, it is recommended to limit user permissions and avoid using the vulnerable syntax until a patch can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for org.xwiki.rendering:xwiki-rendering-syntax-xhtml.

How To Fix

Minimum fixed version

14.10

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback