SecurityContext

CVE-2023-29528: XWiki Commons - Stored XSS

  • Cve: CVE-2023-29528
  • Name: XWiki Commons - Stored XSS
  • 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.
  • Impact: Privileged users can execute malicious JavaScript in their session, leading to potential server-side code execution and compromising confidentiality, integrity, and availability.
  • Remediation: Upgrade to version 14.10 or later where the issue is patched.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: logged_in
  • Requirements: Attacker needs to be a privileged user with programming rights
  • Labels source: projectdiscovery
  • Severity: critical
  • Cvss score: 9
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
  • Epss score: 0.01277
  • Epss percentile: 0.70713
  • Assignee: [email protected]
  • Published at: 2023-04-20T18:15:07Z
  • Age in days: 1314
  • Modified at: 2026-06-17T05:50:28Z
  • Patch available: yes
  • Public exploits total: 2
  • References total: 4
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-29528
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://jira.xwiki.org/browse/XWIKI-20348nvd2023-04-20
https://github.com/shoucheng3/xwiki__xwiki-commons_CVE-2023-29528_14-9-rc-1poc-in-github2025-08-20

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/xwiki/xwiki-commons/commit/8ff1a9d7e5d7b45b690134a537d53dc05cae04abPatch
https://github.com/xwiki/xwiki-commons/security/advisories/GHSA-x37v-36wv-6v6hVendor Advisory
https://jira.xwiki.org/browse/XCOMMONS-2568Vendor Advisory
https://jira.xwiki.org/browse/XWIKI-20348Exploit, Vendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
xwiki:commons>= 4.3, < 14.10; = 4.2; = 4.2 milestone1; = 4.2 milestone2; = 4.2 milestone3; = 4.2 rc1nonvd/v1/products/xwiki/commons

Projects

RepositoryLink kindsIndexedUrl
xwiki/xwiki-commonscommit, fix, package, security_advisoryyes/v1/repositories/xwiki/xwiki-commons

Index

  • Repositories: 3
  • Repositories high signal: 3
  • Checked, none or zero: packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 2
  • Public exploit first date: 2023-04-20
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts