CVE-2023-29508 org.xwiki.platform:xwiki-platform-livedata-macro vulnerable to Cross-site Scripting

High 8.9 Published Updated

A user without script rights can inject stored XSS via the Live Data macro if the last author had script rights, allowing attackers to execute scripts in victim browsers.

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-29508?

CVE-2023-29508 is a high-severity cross-site scripting vulnerability in Xwiki Xwiki, published on 16 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. A user without script rights can introduce a stored XSS by using the Live Data macro, if the last author of the content of the page has script rights. This has been patched in XWiki 14.10, 14.4.7, and 13.10.11.

Weakness: CWE-80, CWE-79

Which versions are affected by CVE-2023-29508?

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

PackageAffectedFixed in
org.xwiki.platform:xwiki-platform-livedata-macro MavenFrom 13.10.1013.10.11
org.xwiki.platform:xwiki-platform-livedata-macro MavenFrom 13.10.1013.10.11
org.xwiki.platform:xwiki-platform-livedata-macro MavenFrom 14.414.4.7
org.xwiki.platform:xwiki-platform-livedata-macro MavenFrom 14.414.4.7
org.xwiki.platform:xwiki-platform-livedata-macro MavenFrom 14.914.10
org.xwiki.platform:xwiki-platform-livedata-macro MavenFrom 14.914.10

Products include Xwiki Xwiki.

How do I fix CVE-2023-29508?

Upgrade org.xwiki.platform:xwiki-platform-livedata-macro 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-29508 being exploited?

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

All Xwiki Xwiki vulnerabilities

Sources

Also known as GHSA-hmm7-6ph9-8jf2.

Is CVE-2023-29508 in your software?

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

Check your SBOMs for free