CVE-2022-22142 Cross-site scripting in php mailform

Medium 6.1 Published Updated

Remote attackers can inject arbitrary scripts via reflected XSS in the php_mailform checkbox, potentially compromising user sessions.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2022-22142?

CVE-2022-22142 is a medium-severity cross-site scripting vulnerability in econosys system php_mailform, published on 8 Feb 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Reflected cross-site scripting vulnerability in the checkbox of php_mailform versions prior to Version 1.40 allows a remote unauthenticated attacker to inject an arbitrary script via unspecified vectors.

Weakness: CWE-79

Which versions are affected by CVE-2022-22142?

It affects 1 product.

Products include Econosys-System Php Mailform.

How do I fix CVE-2022-22142?

No fix has been published for CVE-2022-22142 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-22142 being exploited?

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

Sources

Also known as GHSA-qx4g-3qg8-h4pc.

Is CVE-2022-22142 in your software?

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

Check your SBOMs for free