CVE-2023-6621: The POST SMTP WordPress plugin before 2.8.7 does not sanitise and escape the msg parameter before outputting it back in the page, leading to a Reflected Cross-Site Scripting which could be used agains

medium Affects post-smtp (WordPress plugin). Feed 2026.10.29.1, updated 2026-10-28; published ; advisory modified .

The POST SMTP WordPress plugin before 2.8.7 does not sanitise and escape the msg parameter before outputting it back in the page, leading to a Reflected Cross-Site Scripting which could be used agains

Package
post-smtp (WordPress plugin) WordPress
Affected versions
<2.8.7
Fixed in
2.8.7
Severity
medium  CVSS 6.1
Exploitation
not on CISA KEV · EPSS 0% (34.2th percentile)
Published
2024-01-03
Source
nvd

References

CWE-79
NVD recordpost-smtp (WordPress plugin) advisories

Am I affected?

Find out in one command. phpwarden checks your WordPress install against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# PHP projects (recommended)
composer require --dev phpwarden/phpwarden
# then
vendor/bin/phpwarden wordpress /var/www/html

# or, without Composer
pipx install phpwarden   &&   phpwarden wordpress /var/www/html

Or keep it checked automatically with the GitHub Action or a nightly cron; see WordPress docs.

Install docs   How findings are ranked

Related advisories