CVE-2023-29205 org.xwiki.platform:xwiki-platform-rendering-xwiki vulnerable to stored cross-site scripting via HTML and raw macro

Critical 10.0 Published Updated

Attackers can inject malicious scripts via the HTML macro in user profiles, leading to stored XSS and potential account takeover.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-29205?

CVE-2023-29205 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, with no action from the victim.

Official description

XWiki Commons are technical libraries common to several other top level XWiki projects. The HTML macro does not systematically perform a proper neutralization of script-related html tags. As a result, any user able to use the html macro in XWiki, is able to introduce an XSS attack. This can be particularly dangerous since in a standard wiki, any user is able to use the html macro directly in their own user profile page. The problem has been patched in XWiki 14.8RC1. The patch involves the HTML macros and are systematically cleaned up whenever the user does not have the script correct.

Weakness: CWE-79

Which versions are affected by CVE-2023-29205?

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

PackageAffectedFixed in
org.xwiki.platform:xwiki-platform-rendering-xwiki MavenAll versions14.8-rc-1
org.xwiki.platform:xwiki-platform-rendering-xwiki MavenAll versions14.8-rc-1

Products include Xwiki Xwiki.

How do I fix CVE-2023-29205?

Upgrade org.xwiki.platform:xwiki-platform-rendering-xwiki to 14.8-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-29205 being exploited?

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

All Xwiki Xwiki vulnerabilities

Sources

Also known as GHSA-vxf7-mx22-jr24.

Is CVE-2023-29205 in your software?

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

Check your SBOMs for free