S4E just found a high top 10 tcp port service scan
medium·Product Based Web Vulnerabilities·Updated Oct 8, 2024

CVE-2023-35161 Scanner

CVE-2023-35161 Scanner - Cross-Site Scripting (XSS) vulnerability in XWiki

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsurl
CostFree
3k
Times Used
continuous scan runs
3.4k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
CVECVE-2023-35161
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 DeleteApplication page to perform a XSS, e.g. by using URL such as: > xwiki/bin/view/AppWithinMinutes/DeleteApplication?appName=Menu&resolve=true&xredirect=javascript:alert(document.domain). This vulnerability exists since XWiki 6.2-milestone-1. 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
>= 6.2-milestone-1, < 14.10.5
Updated Aug 22, 2026View on NVD →
Detail

XWiki is a generic wiki platform offering runtime services for applications built on it. It is commonly used by organizations and individuals to create collaborative working environments and documentation sites. XWiki supports the creation of wikis and web applications and can be extended with extensions and custom development. The software is widely adopted for creating knowledge bases and intranets due to its rich feature set and scalability. XWiki allows seamless integration with other tools, enhancing productivity in collaborative environments. It is especially popular for use cases requiring custom applications and a user-friendly interface.

The Cross-Site Scripting (XSS) vulnerability involves the injection of malicious scripts into web pages viewed by other users. This vulnerability can allow attackers to execute arbitrary javascript code in the context of the user's browser session. Specifically, in XWiki, an attacker can exploit the DeleteApplication page to perform a XSS attack. The weakness arises in scenarios where URL parameters are improperly sanitized, enabling the attacker to inject scripts. This could lead to unauthorized actions or data leakage if sensitive information is accessed via the script. Such vulnerabilities pose significant security risks, allowing unauthorized control over user interactions.

The technical aspect of this vulnerability pertains to the 'DeleteApplication' page within the XWiki platform, where URL parameters can be modified. Using a crafted URL, such as the one ending in 'xredirect=javascript:alert(document.domain)', an attacker is able to inject XSS payloads. The vulnerability affects versions starting from 6.2-milestone-1, exposing the application to potential exploitation. The affected parameters are not correctly sanitized for script content, leading to the possibility of executing arbitrary javascript in the user's context. The vulnerability exists due to insufficient filtering or encoding of parameters that are reflected in HTML response to the user. Effective sanitation and validation of input data are key measures to mitigate such vulnerabilities.

Exploitation of this vulnerability can lead to several detrimental outcomes. Malicious scripts executed via XSS can steal user cookies, session tokens, or other sensitive information. It may facilitate unauthorized actions on behalf of the user, leading to potential hijacking of user sessions. In certain cases, it can create persistent payloads that affect numerous users, leading to broader security compromise. Moreover, the affected system's integrity and user trust are significantly undermined by such attacks. Persistent exploitation may disrupt normal service operations and require extensive remediation efforts.

REFERENCES

Solution Advice
  • Upgrade XWiki to versions 14.10.5, 15.1-rc-1, or any later release where the issue is addressed.
  • Ensure proper input validation and output encoding to prevent XSS payload insertion.
  • Implement Content Security Policy (CSP) headers to mitigate script execution risks.
  • Conduct regular security reviews and penetration testing to identify similar vulnerabilities.
  • Educate users about the signs of XSS attacks, such as unexpected prompts, to raise awareness.

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-35161 Scanner - Cross-Site Scripting (XSS) vulnerability in XWiki S4E