Vulnerabilities / Melhor Envio / WPSEC-2026-1971

Melhor Envio <= 3.0.7 - Authenticated (Contributor+) Missing Authorization to Plugin Mode Change

Medium 4.3 CWE-862Fixed in 3.0.8
ID
WPSEC-2026-1971
Plugin
Melhor Envio (melhor-envio-cotacao)
Affected
from 3.0.6 before 3.0.8
Remediation
Update to 3.0.8 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-862
Usage
Plugin Low · Affected versions None seen among sites WPSec scans, 2026-10-29
Attack surface
Melhor Envio on WPSec AttackSurface
Fix released
Published

Description

The Melhor Envio plugin for WordPress is vulnerable to unauthorized modification of data in versions 3.0.6 up to, and including, 3.0.7 due to a missing capability check on the 'melhor_envio_set_mode' admin-post handler (ModeNoticeController::handleModeSwitch). The handler only checks a nonce, and that nonce is printed on every wp-admin page to any logged-in user who can open the dashboard, both in the plugin's migration notice and in the inline 'wpApiSettingsMelhorEnvio' script. This makes it possible for authenticated attackers, with Contributor-level access and above, to switch the plugin between legacy and Melhor Integrador mode, which changes the shipping methods the store offers.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0