CVE-2023-26055 XWiki Commons may allow privilege escalation to programming rights via user's first name

Critical 10.0 Published Updated

Attackers can inject code via user profile fields to execute arbitrary code with programming rights, requiring a patch in XWiki Commons.

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

CVE-2023-26055 is a critical code injection vulnerability in xwiki-commons, published on 2 Mar 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. Starting in version 3.1-milestone-1, any user can edit their own profile and inject code, which is going to be executed with programming right. The same vulnerability can also be exploited in all other places where short text properties are displayed, e.g., in apps created using Apps Within Minutes that use a short text field. The problem has been patched on versions 13.10.9, 14.4.4, 14.7RC1.

Weakness: CWE-150

Which versions are affected by CVE-2023-26055?

6 open source packages ship an affected version, including org.xwiki.commons:xwiki-commons-xml. It affects 1 product.

PackageAffectedFixed in
org.xwiki.commons:xwiki-commons-xml MavenFrom 14.0-rc-114.4.4
org.xwiki.commons:xwiki-commons-xml MavenFrom 14.0-rc-114.4.4
org.xwiki.commons:xwiki-commons-xml MavenFrom 14.514.7-rc-1
org.xwiki.commons:xwiki-commons-xml MavenFrom 14.514.7-rc-1
org.xwiki.commons:xwiki-commons-xml MavenFrom 3.1-milestone-113.10.9
org.xwiki.commons:xwiki-commons-xml MavenFrom 3.1-milestone-113.10.9

Products include Xwiki Commons.

How do I fix CVE-2023-26055?

Upgrade org.xwiki.commons:xwiki-commons-xml to a fixed version for your release line: 14.4.4, 14.7-rc-1 or 13.10.9.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2023-26055 being exploited?

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

Sources

Also known as GHSA-8cw6-4r32-6r3h.

Is CVE-2023-26055 in your software?

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

Check your SBOMs for free