CVE-2022-1326 Form - Contact Form <= 1.2.0 - Admin+ Stored Cross-Site Scripting
Admin users can inject malicious scripts via unsanitized custom text fields in the Form - Contact Form plugin, leading to stored XSS.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2022-1326?
CVE-2022-1326 is a medium-severity cross-site scripting vulnerability in Unknown Form – Contact Form, published on 27 Jun 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
The Form - Contact Form WordPress plugin through 1.2.0 does not sanitize and escape Custom text fields, which could allow high-privileged users such as admin to perform Cross-Site Scripting attacks even when unfiltered_html is disallowed
Weakness: CWE-79
Which versions are affected by CVE-2022-1326?
It affects 1 product.
Products include Form - Contact Form Project Form - Contact Form.
How do I fix CVE-2022-1326?
No fix has been published for CVE-2022-1326 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-1326 being exploited?
There is no known exploitation of CVE-2022-1326 in the wild and no public exploit code.
Sources
Also known as GHSA-6g66-pc73-cqw9.