CVE-2020-13654: Improper escaping in XWiki Platform

Summary

09/02/2022
Yes i
High
7.5

CVE-2020-13654: Improper escaping in XWiki Platform. Affects org.xwiki.platform:xwiki-platform-web versions < 12.8. Fixed in 12.8. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

XWiki Platform is a Maven-based open-source software that provides a collaborative web-based platform for creating and sharing content. It offers features such as document management, version control, and access control. The XWiki Platform Web component is responsible for handling web-related functionality. This vulnerability affects versions prior to 12.8 of the XWiki Platform Web component.

Vulnerability Detail

The vulnerability identified as CVE-2020-13654 involves improper escaping in the property displayer of XWiki Platform. This flaw allows an attacker to bypass proper escaping mechanisms, potentially leading to cross-site scripting (XSS) attacks. By injecting malicious code into the property displayer, an attacker can execute arbitrary scripts within the context of a user's browser, compromising the confidentiality and integrity of user data. The severity of this vulnerability is rated as HIGH with a CVSS score of 7.5.

How To Fix

Minimum fixed version

12.8

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

As a temporary workaround, developers can manually apply proper escaping mechanisms to the property displayer in their code. This involves sanitizing user input and encoding special characters to prevent script execution. Here is an example of how to implement this workaround in Java:

String escapedValue = StringEscapeUtils.escapeHtml4(userInput);

Conclusion

The vulnerability identified as CVE-2020-13654 in the XWiki Platform Web component can lead to cross-site scripting attacks. It is crucial for developers to upgrade to version 12.8 or later to mitigate this vulnerability. Applying proper escaping mechanisms and input sanitization is essential to prevent script execution. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for org.xwiki.platform:xwiki-platform-web →

Share this vulnerability

FAQ

This vulnerability allows an attacker to execute arbitrary scripts within a user's browser, potentially leading to the theft of sensitive information, session hijacking, or the injection of malicious content.

No, only versions prior to 12.8 of the XWiki Platform Web component are affected. It is recommended to upgrade to the latest patched version to mitigate the vulnerability.

No, authentication is not required. An attacker can exploit this vulnerability by injecting malicious code into the property displayer, which can be accessed without authentication.

Yes, this vulnerability has been fixed in version 12.8 of the XWiki Platform Web component. It is crucial to update to this version or later to ensure the security of your application.

For more information about this vulnerability, you can refer to the GitHub Security Advisory GHSA-p93c-h8qm-7256.

Related vulnerabilities

Recent vulnerabilities recorded for org.xwiki.platform:xwiki-platform-web.

How To Fix

Minimum fixed version

12.8

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

Follow Vulert in Google

Get more Vulert vulnerability and dependency-security updates in Google Search and AI results.