CVE-2022-4011 Simple History Plugin Header neutralization for logs

Medium 6.5 Published Updated

Attackers can inject malicious content into logs via X-Forwarded-For headers, potentially leading to stored XSS or log poisoning in Simple History Plugin.

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-2022-4011?

CVE-2022-4011 is a medium-severity cross-site scripting vulnerability in unspecified Simple History Plugin, published on 16 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability was found in Simple History Plugin. It has been rated as critical. This issue affects some unknown processing of the component Header Handler. The manipulation of the argument X-Forwarded-For leads to improper output neutralization for logs. The attack may be initiated remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-213785 was assigned to this vulnerability.

Weakness: CWE-116, CWE-707

Which versions are affected by CVE-2022-4011?

It affects 1 product.

Products include Simple History Project Simple History.

How do I fix CVE-2022-4011?

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

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-2022-4011 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-4011 exists.

Sources

Also known as GHSA-f39f-g3gv-88jq.

Is CVE-2022-4011 in your software?

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

Check your SBOMs for free