CVE-2023-29206: org.xwiki.platform:xwiki-platform-skin-skinx - Cross-site Scripting Vulnerability

Summary

12/04/2023
Yes i
Critical
9.0

CVE-2023-29206: Impact There was no check in the author of a JavaScript xobject or StyleSheet xobject added in a XWiki document, so until now it was possible for a user having only Edit Right to create such object and to craft a script... Affects org.xwiki.platform:xwiki-platform-skin-skinx versions >= 3.0-milestone-1, < 14.9-rc-1. Fixed in 14.9-rc-1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The org.xwiki.platform:xwiki-platform-skin-skinx package is a component of the XWiki platform, which is an open-source wiki software written in Java. It provides a skinning mechanism for customizing the appearance of XWiki applications. The skinx skinning module allows users to create and apply custom skins to their XWiki instances. However, a vulnerability has been discovered in the skinx module that could lead to cross-site scripting (XSS) attacks.

Vulnerability Detail

The vulnerability in org.xwiki.platform:xwiki-platform-skin-skinx arises from a lack of proper authorization checks when adding JavaScript or StyleSheet xobjects to XWiki documents. This allows an attacker with only Edit rights to create malicious scripts that can be executed by users with appropriate privileges. By exploiting this vulnerability, an attacker can perform unauthorized operations on the affected XWiki instance. The vulnerability has a CVSS score of 9.0, indicating a critical severity level.

How To Fix

Minimum fixed version

14.9-rc-1

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

If upgrading to the patched version is not immediately feasible, a temporary workaround is available. It involves applying the patch provided in the following GitHub commit: GitHub Commit. After applying the patch, the xwiki-platform-skin-skinx package needs to be rebuilt and redeployed.

Conclusion

The org.xwiki.platform:xwiki-platform-skin-skinx package is vulnerable to a critical cross-site scripting (XSS) vulnerability. To protect your XWiki instance, it is crucial to upgrade to version 14.9-rc-1 or later, which includes the necessary patch. If immediate upgrade is not possible, applying the provided patch and rebuilding the xwiki-platform-skin-skinx package can serve as a temporary workaround. For further support and assistance in vulnerability remediation, please contact DevNack.com.

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

Share this vulnerability

FAQ

The vulnerability allows an attacker to execute arbitrary scripts on an XWiki instance, potentially leading to unauthorized operations and data manipulation.

Any XWiki instance that is using the org.xwiki.platform:xwiki-platform-skin-skinx package version 3.0-milestone-1 or earlier is affected by this vulnerability.

At the time of this advisory, there are no known public exploits targeting this vulnerability. However, it is advisable to apply the recommended patches or workarounds as soon as possible.

Yes, this vulnerability can be exploited remotely by an attacker with Edit rights on the targeted XWiki instance.

No, upgrading to the patched version or applying the provided patch is the recommended solution to mitigate this vulnerability.

Related vulnerabilities

Recent vulnerabilities recorded for org.xwiki.platform:xwiki-platform-skin-skinx.

How To Fix

Minimum fixed version

14.9-rc-1

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