# CVE-2021-43281: MyBB before 1.8.29 allows Remote Code Injection by an admin with the "Can manage settings?" permission.

- Severity: High 7.2 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.33%, higher than 71% of CVEs (2026-12-01)
- Published: 2021-11-04T17:42:34.000Z
- Modified: 2026-06-17T04:10:47.013Z
- Weaknesses: CWE-94
- Assigned by: mitre

## Description

MyBB before 1.8.29 allows Remote Code Injection by an admin with the "Can manage settings?" permission. 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 Change Settings pages.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- mybb mybb: from 1.2.0 before 1.8.29

## Every score

- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://github.com/mybb/mybb/security/advisories/GHSA-8gxx-vmr9-h39p> (patch, release-notes, third-party-advisory)

## Sources

- CVE List: [CVE-2021-43281](https://www.cve.org/CVERecord?id=CVE-2021-43281), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2021-43281](https://nvd.nist.gov/vuln/detail/CVE-2021-43281), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-43281 · Whole record: https://cve.day/CVE-2021-43281.json · Rebuilt by cve.day 2026-11-25T22:24:35.925Z
