Skip to content
Vulnerability Intelligence

CVE-2022-24734

HighPublic exploit

In affected versions the Admin CP's Settings management module does not validate setting types correctly on insertion and update, making it possible to add settings of supported type php with PHP code, executed on on _Change Settings_ pages.

Published Mar 9, 2022 · Updated Aug 12, 2026 · Also known as BIT-mybb-2022-24734, GHSA-876v-gwgh-w57f

Key Facts

Patch immediately
  • CVE-2022-24734 is a high-severity vulnerability (CVSS 7.2 v3.1) affecting Mybb.
  • It is not listed in any known-exploited vulnerabilities catalog. Public exploit code is available.
  • EPSS estimates a 78% probability of exploitation in the next 30 days.
  • Fixed versions are available, including Mybb 1.8.30.
  • Brandefense priority: patch immediately, because it is very likely to be exploited soon.

CVSS v3.1

7.2

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

EPSS (30-day exploit likelihood)

78%

Higher than 99.5% of all scored CVEs

Exploited in the wild

No known

Not in a known-exploited catalog

Public exploit code

Available

Proof-of-concept or weaponized module

Get the full CVE-2022-24734 brief as a PDF

Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.

Description

MyBB is a free and open source forum software. In affected versions the Admin CP's Settings management module does not validate setting types correctly on insertion and update, making it possible to add settings of supported type php with PHP code, executed on on _Change Settings_ pages. This results in a Remote Code Execution (RCE) vulnerability. The vulnerable module requires Admin CP access with the Can manage settings? permission. MyBB's Settings module, which allows administrators to add, edit, and delete non-default settings, stores setting data in an options code string ($options_code; mybb_settings.optionscode database column) that identifies the setting type and its options, separated by a new line character (\n). In MyBB 1.2.0, support for setting type php was added, for which the remaining part of the options code is PHP code executed on Change Settings pages (reserved for plugins and internal use). MyBB 1.8.30 resolves this issue. There are no known workarounds.

Affected Products

3 affected entries in total
ProductAffected versionsFixed in
MybbMybb>= 1.2.0, >= >= 1.2.0, < 1.8.301.8.30

Patched Releases

Mybb

1.8.30

Timeline

  1. Publicly disclosed

    Mar 9, 2022

  2. Last updated

    Aug 12, 2026

Weakness Type

  • CWE-94 Improper Control of Generation of Code ('Code Injection')

References

5 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2022-24734 Running On Your Attack Surface?

Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.

Request A Demo