Skip to content
CSRF Write-up Beginner

Deep-Dive Technical Write-up: CVE-2026–13156 — MailerSend WordPress Plugin CSRF Settings Deletion &…

The MailerSend WordPress plugin's settings deletion action lacked a nonce check, so a logged-in administrator could be tricked into visiting a malicious page that silently deletes SMTP settings and deactivates the plugin. This breaks email delivery and causes a denial of service.

minhhk Follow

Published on medium.com

A comprehensive root-cause analysis, Cross-Site Request Forgery (CSRF) exploit proof-of-concept, and defensive patch breakdown of CVE-2026–13156.

Huynh Kien Minh, on medium.com

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

How it worked

Root cause

The plugin's configuration deletion handler checked user capabilities but did not verify a WordPress nonce, so it could not distinguish a legitimate admin action from a forged cross-site request.

Impact

An attacker could delete SMTP credentials and deactivate the plugin, breaking all outgoing email and causing a denial of service; this could also prevent security alert emails, potentially aiding account takeover.

What the attacker needed

Victim is a logged-in WordPress admin; victim visits attacker-controlled page; plugin version < 1.0.8

The fix

The vulnerability was fixed in version 1.0.8 by adding a nonce verification check before processing the deletion action.

How it was found

  1. An attacker hosts a malicious HTML page on an external domain.
  2. A logged-in WordPress administrator visits the page or is lured to it.
  3. The page automatically submits a forged request to the WordPress admin endpoint.
  4. The request deletes the MailerSend SMTP settings and deactivates the plugin.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.

When you log into a website, your browser sends a session cookie with every request to that site. If a site performs an action (like deleting settings) without also checking a secret token that only the real site's pages include, another website can make your browser send that request for you. This is called Cross-Site Request Forgery (CSRF). Here, an attacker could make an admin's browser delete the plugin's email settings and turn the plugin off.

What is CSRF?

Another site makes a signed-in user's browser perform an action they did not intend.

More by minhhk

View all

1 more disclosed report, best first.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site request forgery (CSRF)

The lesson behind this report.

Another site makes a signed-in user's browser perform an action they did not intend.