| Plugin Name | Master Addons for Elementor |
|---|---|
| Type of Vulnerability | Cross-Site Scripting (XSS) |
| CVE Number | CVE-2026-2486 |
| Urgency | Low |
| CVE Publish Date | 2026-02-19 |
| Source URL | CVE-2026-2486 |
Urgent: XSS in Master Addons for Elementor (≤ 2.1.1) — What WordPress Site Owners Need to Do Right Now
Author note — Hong Kong security expert: This advisory is direct and practical. It describes the vulnerability, risk, rapid detection and remediation steps you can apply immediately. Follow the prioritized actions in the order given. Treat this as an operational checklist for incident response.
Summary
- Vulnerability: Authenticated Stored Cross-Site Scripting (XSS) via the
ma_el_bh_table_btn_textfield. - Affected versions: Master Addons for Elementor ≤ 2.1.1
- Patched version: 2.1.2
- CVE: CVE-2026-2486
- Required privilege: Contributor
- Impact: Stored XSS can lead to cookie theft, account takeover (if privileged users view the crafted content), persistent content manipulation and other follow-on compromise.
Technical explanation — how this works
This is a stored XSS vulnerability in the plugin field ma_el_bh_table_btn_text. A user with Contributor privileges can submit input containing HTML/JavaScript which the plugin stores and later renders without proper sanitization/escaping. When a visitor or an administrator views the affected page, the stored script will execute in their browser context.
Typical exploitation chain:
- Attacker obtains or controls a Contributor account.
- They submit payloads into the plugin field (for example:
,or encoded variants). - The plugin stores this value in postmeta or options without adequate sanitization.
- When the site renders that value, the browser executes the stored script as the site origin.
- If an administrator or other privileged user views the page, the script could act with their session privileges.
Risk analysis — why this matters
- Access level: Contributor — many sites allow contributor accounts or user registrations.
- User interaction: Required — script runs when content is viewed; impact depends on who views it.
- CVE/CVSS context: Reported CVSS: 6.5 (medium) — moderate privilege required but impact can escalate.
- Attacker objectives: session theft, persistent malicious content, SEO spam, admin action execution via the victim browser, redirects to phishing/malware.
Immediate actions (apply in this order)
- Update the plugin to version 2.1.2 immediately. If you cannot update right away, disable or remove the plugin until you can patch.
- If you cannot update instantly, apply temporary server-side or WAF rules to block submissions to the vulnerable field or block payloads containing obvious script markers.
- Temporarily restrict Contributor accounts: remove or disable contributor users, or reduce their capabilities so they cannot submit the vulnerable field.
- Search the database for stored payloads in meta with key
ma_el_bh_table_btn_textand remove or sanitize malicious entries. - If you suspect admins viewed malicious content, force password resets for administrator and editor accounts and audit sessions.
- Audit user accounts and recent activity logs for suspicious actions.
- Scan the site for other indicators of compromise (unexpected files, modified code, scheduled tasks, external requests).
- Rotate API keys and secrets if they might have been exposed.
How to find and clean malicious stored payloads
Always work from a verified backup or perform read-only queries first. Backup the database before deleting anything.
Example SQL to find occurrences (escape characters shown):
SELECT post_id, meta_key, meta_value
FROM wp_postmeta
WHERE meta_key = 'ma_el_bh_table_btn_text'
AND meta_value LIKE '%
SELECT post_id, meta_key, meta_value
FROM wp_postmeta
WHERE meta_key = 'ma_el_bh_table_btn_text'
AND (meta_value LIKE '%onerror=%' OR meta_value LIKE '%onload=%' OR meta_value LIKE '%![]()
Example delete (only after review and backup):
DELETE FROM wp_postmeta
WHERE meta_key = 'ma_el_bh_table_btn_text'
AND (meta_value LIKE '%
WP-CLI examples for safer scripted remediation:
# List posts which have the meta key (returns IDs)
wp post meta list $(wp post list --format=ids) --meta_key=ma_el_bh_table_btn_text --format=csv
# Delete the meta key across posts (use with caution; backup first)
wp post meta delete $(wp post list --format=ids) ma_el_bh_table_btn_text
Note: Inspect meta values before deletion. Export values for forensic review if compromise is suspected.
Short-term mitigations you can apply now (technical)
- Update the plugin to 2.1.2 (vendor patch is the permanent fix).
- If update is not immediately possible, implement temporary server-side input filtering that blocks or sanitizes submissions to
ma_el_bh_table_btn_text. - Apply a Content Security Policy (CSP) to reduce the impact of inline script execution. Example header (defense-in-depth):
Content-Security-Policy: default-src 'self'; script-src 'self' https:; object-src 'none'; base-uri 'self';
— test first, as CSP can break functionality if too strict. - Disable rendering of unsafe HTML for the plugin if a plugin setting exists to limit the field to plain text.
- Block or rate-limit suspicious IPs targeting injection attempts and monitor logs for patterns.
- Consider server-side stripping or rejection of HTML from low-trust roles (Contributors/Authors).
Example virtual patch / WAF rules (neutral examples you can adapt)
Use these as starting points. Test rules in monitor mode to avoid false positives.
Rule A — Block obvious XSS markers on the vulnerable parameter
Conditions: