CVE-2018-16277: XWiki XSS Vulnerability in org.xwiki.commons:xwiki-commons-pom

Summary

14/05/2022
No i
Moderate
5.4

CVE-2018-16277: XWiki XSS Vulnerability. Affects org.xwiki.platform:xwiki-platform versions < 10.7. No fix is published. 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

The org.xwiki.commons:xwiki-commons-pom package is a Maven ecosystem package that is used in XWiki, an open-source wiki software platform. XWiki is designed to allow users to create and collaborate on content in a structured manner. The xwiki-commons-pom package provides common functionality and dependencies for XWiki. It is an essential component of the XWiki software stack.

Vulnerability Detail

The Image Import function in XWiki through version 10.7 is vulnerable to cross-site scripting (XSS) attacks. This vulnerability allows an attacker to inject malicious scripts into the application, which can then be executed by unsuspecting users. The Image Import function does not properly sanitize user-supplied input, allowing an attacker to craft a specially crafted image file that includes malicious scripts. When this image file is imported into XWiki, the malicious scripts are executed in the context of the user's browser, potentially leading to unauthorized access, data theft, or other malicious activities.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no known workaround for this vulnerability. It is recommended to apply the official patch or upgrade to a fixed version of XWiki.

Conclusion

The XWiki XSS vulnerability in the org.xwiki.commons:xwiki-commons-pom package allows attackers to execute arbitrary scripts in the context of the user's browser. This can lead to unauthorized access, data theft, or other malicious activities. To mitigate the risk, it is recommended to upgrade XWiki to a version that includes a patch for this vulnerability. The XWiki development team has released a fix in version 10.8 and later. For further assistance and support in vulnerability remediation, please contact DevNack.com.

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

Share this vulnerability

FAQ

This vulnerability allows an attacker to execute arbitrary scripts in the context of the user's browser. Depending on the privileges of the affected user, this can lead to unauthorized access, data theft, or other malicious activities.

No, authentication is not required to exploit this vulnerability. An attacker can exploit this vulnerability by tricking a user into importing a specially crafted image file.

There are no known public exploits for this vulnerability at the time of this report.

Yes, the XWiki development team has released a fix for this vulnerability in version 10.8 and later. It is recommended to update to the latest version to mitigate the risk.

In addition to updating XWiki to a fixed version, it is important to follow secure coding practices and sanitize all user-supplied input to prevent similar vulnerabilities in the future. Regularly monitoring for security updates and applying them promptly is also recommended.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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