CVE-2023-29206 org.xwiki.platform:xwiki-platform-skin-skinx vulnerable to basic Cross-site Scripting by exploiting JSX or SSX plugins

Critical 9.1 Published Updated

Attackers with edit rights can inject malicious scripts via JSX or SSX plugins, leading to code execution or privilege escalation when viewed by privileged users.

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

What is CVE-2023-29206?

CVE-2023-29206 is a critical cross-site scripting vulnerability in Xwiki Xwiki, published on 15 Apr 2023. Any signed-in user can exploit it over the network, 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. There was no check in the author of a JavaScript xobject or StyleSheet xobject added in a XWiki document, so until now it was possible for a user having only Edit Right to create such object and to craft a script allowing to perform some operations when executing by a user with appropriate rights. This has been patched in XWiki 14.9-rc-1 by only executing the script if the author of it has Script rights.

Weakness: CWE-79

Which versions are affected by CVE-2023-29206?

2 open source packages ship an affected version, including org.xwiki.platform:xwiki-platform-skin-skinx. It affects 1 product.

PackageAffectedFixed in
org.xwiki.platform:xwiki-platform-skin-skinx MavenFrom 3.0-milestone-114.9-rc-1
org.xwiki.platform:xwiki-platform-skin-skinx MavenFrom 3.0-milestone-114.9-rc-1

Products include Xwiki Xwiki.

How do I fix CVE-2023-29206?

Upgrade org.xwiki.platform:xwiki-platform-skin-skinx to 14.9-rc-1 or later.

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-29206 being exploited?

There is no known exploitation of CVE-2023-29206 in the wild and no public exploit code.

All Xwiki Xwiki vulnerabilities

Sources

Also known as GHSA-cmvg-w72j-7phx.

Is CVE-2023-29206 in your software?

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

Check your SBOMs for free