CVE-2023-29506 org.xwiki.platform:xwiki-platform-security-authentication-default XSS with authenticated endpoints

Medium 5.4 Published Updated

Attackers can inject malicious scripts via authenticated endpoint URLs in XWiki, potentially leading to code execution or account takeover.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-29506?

CVE-2023-29506 is a medium-severity cross-site scripting vulnerability in Xwiki Xwiki, published on 16 Apr 2023. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

XWiki Commons are technical libraries common to several other top level XWiki projects. It was possible to inject some code using the URL of authenticated endpoints. This problem has been patched on XWiki 13.10.11, 14.4.7 and 14.10.

Weakness: CWE-79

Which versions are affected by CVE-2023-29506?

6 open source packages ship an affected version, including org.xwiki.platform:xwiki-platform-security-authentication-default. It affects 1 product.

PackageAffectedFixed in
org.xwiki.platform:xwiki-platform-security-authentication-default MavenFrom 13.10.813.10.11
org.xwiki.platform:xwiki-platform-security-authentication-default MavenFrom 13.10.813.10.11
org.xwiki.platform:xwiki-platform-security-authentication-default MavenFrom 14.4.314.4.7
org.xwiki.platform:xwiki-platform-security-authentication-default MavenFrom 14.4.314.4.7
org.xwiki.platform:xwiki-platform-security-authentication-default MavenFrom 14.614.10
org.xwiki.platform:xwiki-platform-security-authentication-default MavenFrom 14.614.10

Products include Xwiki Xwiki.

How do I fix CVE-2023-29506?

Upgrade org.xwiki.platform:xwiki-platform-security-authentication-default to a fixed version for your release line: 13.10.11, 14.4.7 or 14.10.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2023-29506 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-29506 exists.

Public exploit code: 1 Nuclei template.

All Xwiki Xwiki vulnerabilities

Sources

Also known as GHSA-jjm5-5v9v-7hx2.

Is CVE-2023-29506 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free