CVE-2025-7366

Rehub <= 19.9.7 - Unauthenticated Arbitrary Shortcode Execution via re_filterpost

Published Sep 6, 2025 CVSS 3.1 · 7.3 High EPSS < 1% KEV · Not listed
Description
The The REHub - Price Comparison, Multi Vendor Marketplace Wordpress Theme theme for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 19.9.7. 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.

Analysis

AI-generated

Technical impact

The REHub theme allows any user to trigger the re_filterpost filter, which in turn calls WordPress’s do_shortcode function without properly validating the content of the shortcode string. This flaw permits the execution of any shortcode supplied by an attacker, which can lead to the execution of arbitrary PHP code on the host. The vulnerability exists in all releases of the theme up to and including version 19.9.7.

Affected Systems

All WordPress sites that use the sizam REHub – Price Comparison, Multi Vendor Marketplace Wordpress Theme in versions 19.9.7 or earlier are affected. The issue resides in the theme’s core files and does not require additional plugins or user privileges to exploit.

Risk and Exploitability

With a CVSS score of 7.3, the flaw is considered medium‑high severity, while an EPSS score of less than 1% indicates a low probability of current exploitation. The feature is not catalogued in CISA’s KEV list. An attacker does not need authentication; a crafted HTTP request containing the desired shortcode can be sent to any publicly accessible URL that processes the re_filterpost filter, enabling the attacker to run arbitrary PHP code.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the official patch by upgrading the REHub theme to version 19.9.8 or later, where input validation for do_shortcode is enforced.
  • If an upgrade is not immediately possible, modify or disable the re_filterpost filter so that do_shortcode is only invoked with sanitized values, preventing execution of arbitrary shortcodes.
  • Deploy a web application firewall or adjust the site’s request handling to block or sanitize incoming requests that contain shortcode syntax, thereby mitigating the risk of unauthenticated shortcode execution.

Generated by OpenCVE AI on April 21, 2026 at 19:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-27059 The The REHub - Price Comparison, Multi Vendor Marketplace Wordpress Theme theme for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 19.9.7. 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.
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description The The REHub - Price Comparison, Multi Vendor Marketplace Wordpress Theme theme for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 19.9.7. 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.
Title Rehub <= 19.9.7 - Unauthenticated Arbitrary Shortcode Execution via re_filterpost
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 7.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L'}

Subscriptions

No data.

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 4:52 PM
Reserved
Jul 8, 2025, 6:39 PM
Status
Deferred
Published
Sep 6, 2025, 2:15 AM
Modified
Jun 17, 2026, 10:04 AM