๐Ÿ” CVE Alert

CVE-2026-71232

HIGH 7.2

MacCMS10: Incomplete Function Blacklist in Template Editor Enables Authenticated RCE

CVSS Score
7.2
EPSS Score
0.0%
EPSS Percentile
0th

MacCMS10's admin template editor (application/admin/controller/Template.php) blocks dangerous PHP functions in template content via a blacklist regex, but the blacklist omitted exec, passthru, popen, show_source, create_function, register_shutdown_function, register_tick_function, and error_log. Combined with ThinkPHP's {if} template tag, which embeds the condition attribute directly into raw PHP (<?php if(condition): ?>), an authenticated administrator could inject a payload such as {if condition="exec('id > /tmp/pwned.txt')"}{/if} to achieve remote code execution. Fixed in commit 71ad3bb29570e110d8e973acff68040a3050ddf0 (2026-06-22), which added the missing functions to the filter.

CWE CWE-94
Vendor magicblack
Product maccms10
Published Aug 5, 2026
Last Updated Aug 5, 2026
Stay Ahead of the Next One

Get instant alerts for magicblack maccms10

Be the first to know when new high vulnerabilities affecting magicblack maccms10 are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability

Affected Versions

magicblack / maccms10
0 < 10

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/magicblack/maccms10/commit/71ad3bb29570e110d8e973acff68040a3050ddf0

Credits

Mirdavlatov Mira'zam