CVE-2024-1872 HIGH

CVE-2024-1872: Button <= 1.1.27 - Authenticated (Contributor+) PHP Object Injection in button_shortcode

Vendor Burgersoftware
Product Button
Weakness CWE-502 · Unsafe deserialization
Published March 29, 2024
Last update April 8, 2026

CVSS base score

8.8/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What the vulnerability does

01Description

The Button plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 1.1.27 via deserialization of untrusted input in the button_shortcode function. This makes it possible for authenticated attackers, with contributor-level access and above, to inject a PHP Object. No known POP chain is present in the vulnerable plugin. If a POP chain is present via an additional plugin or theme installed on the target system, it could allow the attacker to delete arbitrary files, retrieve sensitive data, or execute code.

Explanation of Vulnerability in Simple Terms

02Summary

Button versions up to 1.1.27 contain a deserialization vulnerability that allows authenticated users to execute arbitrary code on the site. An attacker with low-level access can craft malicious serialized data to trigger code execution. The vulnerability affects all confidentiality, integrity, and availability of the site. Update to version 1.1.28 or later.

What an attacker can do

03Attacker Capabilities

Run arbitrary code on the site with the privileges of the web server.

Potential impact on your site

04Site Impact

Compromised site with potential data theft, malware injection, or complete takeover.

Conditions required to exploit

05Prerequisites

Attacker must have a low-level user account (e.g., subscriber or contributor role).

Key dates

06Disclosure timeline

March 29, 2024 CVE published
April 8, 2026 Record updated

Related vulnerabilities

08Related CVE