CVE-2021-24964
JSON

6.1medium

LiteSpeed Cache < 4.4.4 - IP Check Bypass to Unauthenticated Stored XSS

Severity
6.1medium CVSS:3.1 by CISA-ADP
Exploit likelihood
1.24% (higher than 69% of CVEs)
Published
Last changed
Assigned by
WPScan

Description

The LiteSpeed Cache WordPress plugin before 4.4.4 does not properly verify that requests are coming from QUIC.cloud servers, allowing attackers to make requests to certain endpoints by using a specific X-Forwarded-For header value. In addition, one of the endpoint could be used to set CSS code if a setting is enabled, which will then be output in some pages without being sanitised and escaped. Combining those two issues, an unauthenticated attacker could put Cross-Site Scripting payloads in pages visited by users.

Affected

Product or packageVersionsReported by
Unknown LiteSpeed Cachefrom 4.4.4 before 4.4.4CVE List
litespeedtech litespeed_cachebefore 4.4.4NVD

All scores

CISA-ADP6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD2.6low CVSS:2.0AV:N/AC:H/Au:N/C:N/I:P/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

The LiteSpeed Cache WordPress plugin before 4.4.4 does not properly verify that requests are coming from QUIC.cloud servers, allowing attackers to make requests to certain endpoints by using a specific X-Forwarded-For header value. In addition, one of the endpoint could be used to set CSS code if a setting is enabled, which will then be output in some pages without being sanitised and escaped. Combining those two issues, an unauthenticated attacker could put Cross-Site Scripting payloads in pages visited by users.

NVD (es)

El plugin LiteSpeed Cache de WordPress versiones anteriores a 4.4.4, no verifica correctamente que las peticiones proceden de servidores QUIC.cloud, permitiendo a atacantes realizar peticiones a determinados endpoints usando un valor de encabezado X-Forwarded-For específico. Además, uno de los endpoints podría ser usado para establecer código CSS si es habilitado un ajuste, que luego será emitido en algunas páginas sin ser saneado y escapado. Combinando estos dos problemas, un atacante no autenticado podría poner cargas útiles de tipo Cross-Site Scripting en las páginas visitadas por los usuarios

References

Sources

SourceRecordLicence
CVE ListCVE-2021-24964 changed 2025-05-22CVE Terms of Use
NVDCVE-2021-24964 changed 2026-06-17Public domain