CVE-2023-22522 Code injection in Confluence Data Center

Critical 9.0 Published Updated

Authenticated attackers can inject unsafe input into Confluence pages to achieve remote code execution on affected Data Center and Server instances.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2023-22522?

CVE-2023-22522 is a critical code injection vulnerability in Atlassian Confluence Data Center, published on 6 Dec 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

This Template Injection vulnerability allows an authenticated attacker, including one with anonymous access, to inject unsafe user input into a Confluence page. Using this approach, an attacker is able to achieve Remote Code Execution (RCE) on an affected instance. Publicly accessible Confluence Data Center and Server versions as listed below are at risk and require immediate attention. See the advisory for additional details

Atlassian Cloud sites are not affected by this vulnerability. If your Confluence site is accessed via an atlassian.net domain, it is hosted by Atlassian and is not vulnerable to this issue.

Weakness: CWE-74

Which versions are affected by CVE-2023-22522?

It affects 2 products.

Products include Atlassian Confluence Data Center, Atlassian Confluence Server.

How do I fix CVE-2023-22522?

No fix has been published for CVE-2023-22522 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2023-22522 being exploited?

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

Sources

Also known as GHSA-rcjw-44p8-ppj6.

Is CVE-2023-22522 in your software?

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

Check your SBOMs for free