Skip to main content
← All vulnerabilities
CVE-2023-31126GHSA-PV7V-PH6G-3GXV

Improper Neutralization of Invalid Characters in Data Attribute Names in org.xwiki.commons:xwiki-commons-xml

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 14.10.4
2 proofs of concept on GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

`org.xwiki.commons:xwiki-commons-xml` is an XML library used by the open-source wiki platform XWiki. The HTML sanitizer, introduced in version 14.6-rc-1, allows the injection of arbitrary HTML code and thus cross-site scripting via invalid data attributes. This vulnerability does not affect restricted cleaning in HTMLCleaner as there attributes are cleaned and thus characters like `/` and `>` are removed in all attribute names. This problem has been patched in XWiki 14.10.4 and 15.0 RC1 by making sure that data attributes only contain allowed characters. There are no known workarounds apart from upgrading to a version including the fix.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • xwiki xwiki-commons

    From 14.6-rc-1 · fixed in 14.10.4

  • org.xwiki.commons:xwiki-commons-xmlMaven

    From 14.6-rc-1 · fixed in 14.10.4

References 5

GitHub · xwiki/xwiki-commons

jira.xwiki.org

GitHub · shoucheng3/cov-int

GitHub · shoucheng3/xwiki__xwiki-commons_CVE-2023-31126_14-10-3