CVE-2023-29528

Public Exploit
Cross-site Scripting in org.xwiki.commons:xwiki-commons-xml

Description

XWiki Commons are technical libraries common to several other top level XWiki projects. The "restricted" mode of the HTML cleaner in XWiki, introduced in version 4.2-milestone-1 and massively improved in version 14.6-rc-1, allowed the injection of arbitrary HTML code and thus cross-site scripting via invalid HTML comments. As a consequence, any code relying on this "restricted" mode for security is vulnerable to JavaScript injection ("cross-site scripting"/XSS). When a privileged user with programming rights visits such a comment in XWiki, the malicious JavaScript code is executed in the context of the user session. This allows server-side code execution with programming rights, impacting the confidentiality, integrity and availability of the XWiki instance. This problem has been patched in XWiki 14.10, HTML comments are now removed in restricted mode and a check has been introduced that ensures that comments don't start with `>`. There are no known workarounds apart from upgrading to a version including the fix.

Category

9.0
CVSS
Severity: Critical
CVSS 3.1 •
EPSS 3.22% Top 15%
Vendor Advisory github.com Vendor Advisory xwiki.org Vendor Advisory xwiki.org
Affected: xwiki xwiki-commons
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-29528?
CVE-2023-29528 has been scored as a critical severity vulnerability.
How to fix CVE-2023-29528?
To fix CVE-2023-29528, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-29528 being actively exploited in the wild?
It is possible that CVE-2023-29528 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~3% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-29528?
CVE-2023-29528 affects xwiki xwiki-commons.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.