CVE-2019-25145 Contact Form & SMTP Plugin by PirateForms <= 2.5.1 - Unauthenticated HTML injection

High 7.2 Published Updated

Unauthenticated attackers can inject arbitrary HTML into emails via the PirateForms plugin, enabling phishing attacks against victims.

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-2019-25145?

CVE-2019-25145 is a high-severity cross-site scripting vulnerability in smub Contact Form & SMTP Plugin for WordPress by PirateForms, published on 7 Jun 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

The Contact Form & SMTP Plugin by PirateForms plugin for WordPress is vulnerable to HTML injection in the ‘public/class-pirateforms-public.php’ file in versions up to, and including, 2.5.1 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary HTML in emails that could be used to phish unsuspecting victims.

Weakness: CWE-79

Which versions are affected by CVE-2019-25145?

It affects 1 product.

Products include Wpforms Contact Form.

How do I fix CVE-2019-25145?

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

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

Sources

Also known as GHSA-mcgq-qxvq-33gm.

Is CVE-2019-25145 in your software?

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

Check your SBOMs for free