CVE-2025-12128

Hide Categories Or Products On Shop Page <= 1.0.7 - Cross-Site Request Forgery to Settings Update

Published Dec 5, 2025 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
Description
The Hide Categories Or Products On Shop Page plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.0.7. This is due to missing or incorrect nonce validation on the save_data_hcps() function. This makes it possible for unauthenticated attackers to update the plugin's settings via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.

Analysis

AI-generated

Technical impact

The Hide Categories Or Products On Shop Page plugin for WordPress is vulnerable to Cross‑Site Request Forgery (CWE‑352) caused by missing or incorrect nonce validation in its save_data_hcps() function. This flaw allows an unauthenticated attacker to force an administrator or other privileged user to submit a forged request that updates the plugin’s settings. The resulting configuration changes can hide categories or products on the shop page, potentially altering site functionality, degrading user experience, or creating a denial of service scenario for legitimate users.

Affected Systems

The vulnerability affects the WordPress plugin Hide Categories Or Products On Shop Page developed by Kaushik Ankrani. All installed copies running version 1.0.7 or earlier are susceptible. The impact is confined to sites that have the plugin active and rely on its settings to control product visibility.

Risk and Exploitability

With a CVSS score of 4.3, the flaw represents moderate severity. Its EPSS score is below 1 %, indicating a low probability of exploitation in the general population. The vulnerability is not listed in the CISA KEV catalog. The likely attack vector is a social‑engineering scenario where an attacker sends a malicious link to a site administrator, who, without realizing it, performs a state‑changing request that the plugin accepts without valid nonce verification. No additional technical requirements beyond tricking a privileged user are needed for exploitation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Hide Categories Or Products On Shop Page to the latest version (≥1.0.8) to eliminate the CSRF flaw.
  • If an immediate upgrade is not feasible, disable the plugin until the patch can be applied to prevent accidental configuration changes.
  • Verify that all WordPress core and other plugins are current and that your site’s overall CSRF protection follows best practices, including the use of unique, single‑use nonces for state‑changing requests.

Generated by OpenCVE AI on April 21, 2026 at 01:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress
Type Values Removed Values Added
Description The Hide Categories Or Products On Shop Page plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 1.0.7. This is due to missing or incorrect nonce validation on the save_data_hcps() function. This makes it possible for unauthenticated attackers to update the plugin's settings via a forged request granted they can trick a site administrator into performing an action such as clicking on a link.
Title Hide Categories Or Products On Shop Page <= 1.0.7 - Cross-Site Request Forgery to Settings Update
Weaknesses CWE-352
References
Metrics cvssV3_1

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

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 5:17 PM
Reserved
Oct 23, 2025, 6:37 PM
Status
Deferred
Published
Dec 5, 2025, 6:16 AM
Modified
Sep 25, 2026, 11:10 PM