S4E just found a high-severity finding from top 10 tcp port service scan
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
medium·Product Based Web Vulnerabilities·Updated Oct 8, 2024

CVE-2023-35160 Scanner

CVE-2023-35160 Scanner - Cross-Site Scripting vulnerability in XWiki

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsurl
CostFree
2.3k
Times Used
continuous scan runs
5.8k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2023-35160
6.1
CVSScritical
Exploitable remotely over the internet · no authentication required · user interaction needed.

XWiki Platform is a generic wiki platform offering runtime services for applications built on top of it. Users are able to forge an URL with a payload allowing to inject Javascript in the page (XSS). It's possible to exploit the resubmit template to perform a XSS, e.g. by using URL such as: > xwiki/bin/view/XWiki/Main xpage=resubmit&resubmit=javascript:alert(document.domain)&xback=javascript:alert(document.domain). This vulnerability exists since XWiki 2.5-milestone-2. The vulnerability has been patched in XWiki 14.10.5 and 15.1-rc-1.

Attack Vector
Network
Privileges Req.
None
User Interaction
Required
Affected
xwiki-platformby xwiki
>= 2.5-milestone-2, < 14.10.5
Updated Aug 22, 2026View on NVD →
Detail

The XWiki Platform is a versatile wiki platform providing runtime services for applications developed on its infrastructure. It is widely adopted in collaborative environments, educational institutions, and corporate settings for content management and document collaboration. XWiki is designed to be extensible, enabling developers to build custom solutions using its comprehensive API. As a powerful open-source tool, XWiki supports scripting and offers a substantial number of extensions, plugins, and macros developed by its community. The platform's architecture is intended to facilitate both user and developer engagement, making it a popular choice for organizations looking to customize their digital workspace. XWiki is notable for its efficient wiki and content-management capabilities tailored to diverse organizational needs.

Cross-Site Scripting (XSS) is a vulnerability that allows attackers to inject malicious scripts into trusted websites viewed by other users. This type of vulnerability is prevalent in web applications and poses a significant security threat because it diverts the victim's browser capabilities to execute malicious scripts. Attackers exploiting XSS can gain access to session cookies, perform actions on behalf of the user, and potentially modify webpage content. The threat posed by XSS is considerable, especially when considering the potential for automated targeted attacks across multiple user sessions. Detecting and mitigating XSS vulnerabilities is crucial to protect both user data and the integrity of web applications. Preventing XSS involves advanced input validation and sanitation to negate the attack vectors incorporated by malicious entities.

The vulnerability in XWiki comes from the ability to exploit the resubmit template parameter, inadvertently allowing JavaScript injection through crafted URLs. A notably vulnerable endpoint involves the path `/xwiki/bin/view/XWiki/Main`, where an attacker could manipulate query parameters to execute arbitrary JavaScript code. The primary parameters under threat are `xpage` and `resubmit`, which can be leveraged to forge scripts that run automatically in the context of the user's session. This technically manifests as an XSS attack wherein the crafted URL bypasses typical input validation checks. Given the ease of exploiting these vectors, it is critical for clients using affected versions to apply suitable measures to secure these parameters against such manipulations.

When malicious actors exploit XSS vulnerabilities like this in XWiki, they can potentially hijack sessions, redirect users to spoofed sites, or distribute interactive malware. The ramifications can include unauthorized actions carried out on behalf of the user, leading to potential data breaches or the distribution of further malicious content. A successful compromise of user sessions can also result in the exposure of sensitive corporate data and affect operational integrity. Other cascading effects include loss of user trust, reputational damage, and potential legal implications concerning data privacy regulations. Hence, securing XWiki against XSS attacks is paramount in safeguarding user interactions and maintaining system credibility in collaborative environments.

REFERENCES

Solution Advice
  • Update to the latest patched version of XWiki as per the vendor's recommendation.
  • Implement thorough input validation and output escaping to reduce susceptibility to XSS.
  • Consider using a Content Security Policy (CSP) to restrict the execution contexts for scripts.
  • Educate users about the risks and signs of attempted phishing or script injection attempts.
  • Periodically audit and test the system to identify and remediate potential security exploits.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.

CVE-2023-35160 Scanner - Cross-Site Scripting vulnerability in XWiki | S4E