Template injection in Confluence Data Center and Confluence Server - CVE-2023-22522

 

Template injection in Confluence Data Center and Confluence Server - CVE-2023-22522

Published: December 6, 2023 / Updated: March 22, 2024


Vulnerability identifier: #VU83896
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2023-22522
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation. A remote attacker (both authenticated and with anonymous access) can inject an unsafe user input into a Confluence page and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Confluence Data Center
Confluence Server

How to mitigate CVE-2023-22522

Install updates from vendor's website.

Confluence Data Center - addressed in versions 7.19.17, 8.4.5, 8.5.4, 8.6.2, 8.7.1
Confluence Server - addressed in versions 7.19.17, 8.4.5, 8.5.4

External References

Related Security Bulletins