CVE-2023-32070

9.0 CRITICAL

📋 TL;DR

This vulnerability in XWiki Platform allows attackers to inject malicious scripts through HTML attributes and link URLs, enabling cross-site scripting (XSS) attacks. Any XWiki instance running versions before 14.6-rc-1 is affected, potentially compromising user sessions and data.

💻 Affected Systems

Products:
  • XWiki Platform
Versions: All versions prior to 14.6-rc-1
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: All XWiki installations using default rendering configurations are vulnerable. The vulnerability exists in the XWiki rendering component.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Complete account takeover, data theft, and malware distribution to all users via persistent XSS payloads.

🟠

Likely Case

Session hijacking, credential theft, and unauthorized content modification affecting users who view malicious pages.

🟢

If Mitigated

Limited impact if proper content security policies and input validation are enforced, though risk remains without patching.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

XSS via attributes and URLs is typically straightforward to exploit once the attack vector is identified.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: 14.6-rc-1 and later

Vendor Advisory: https://github.com/xwiki/xwiki-rendering/security/advisories/GHSA-6gf5-c898-7rxp

Restart Required: Yes

Instructions:

1. Backup your XWiki instance. 2. Upgrade to XWiki 14.6-rc-1 or later. 3. Restart the XWiki service. 4. Verify the fix by checking the version.

🔧 Temporary Workarounds

No official workarounds

all

The vendor states there are no known workarounds apart from upgrading.

🧯 If You Can't Patch

  • Implement strict Content Security Policy (CSP) headers to mitigate script execution
  • Disable or restrict HTML rendering features for untrusted users

🔍 How to Verify

Check if Vulnerable:

Check XWiki version via admin interface or by examining installation files. Versions below 14.6-rc-1 are vulnerable.

Check Version:

Check XWiki version in admin dashboard or via system properties

Verify Fix Applied:

Confirm version is 14.6-rc-1 or higher and test HTML rendering with potentially malicious attributes.

📡 Detection & Monitoring

Log Indicators:

  • Unusual HTML attribute patterns in rendering logs
  • Multiple failed rendering attempts with special characters

Network Indicators:

  • Requests containing suspicious HTML attributes or JavaScript in URLs

SIEM Query:

source="xwiki" AND (message="*javascript:*" OR message="*onclick=*" OR message="*onerror=*")

🔗 References

📤 Share & Export