Description
Cross-Site Request Forgery (CSRF) vulnerability in Shamim Hasan Custom Functions Plugin custom-functions allows Stored XSS.This issue affects Custom Functions Plugin: from n/a through <= 1.1.
Published: 2025-04-24
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Custom Functions Plugin allows an attacker to send a crafted request that a logged‑in administrator will unknowingly execute. Because the plugin lacks proper CSRF protection, the malicious request stores a <script> payload in a post or settings field. Any visitor who later views the stored content will trigger the script in the victim’s browser, potentially stealing credentials, hijacking sessions, or performing further attacks. The weakness is a classic Cross‑Site Request Forgery leading to Stored Cross‑Site Scripting, classified as CWE‑352.

Affected Systems

WordPress users running the Custom Functions Plugin by Shamim Hasan, version 1.1 or older. All releases up to and including 1.1 are vulnerable due to insufficient CSRF checks.

Risk and Exploitability

The CVSS score of 7.1 indicates high severity, while the EPSS score of less than 1 % suggests that exploitation is currently infrequent but remains possible. The vulnerability is not listed in the CISA KEV catalog, but the vector is likely a CSRF attack that requires the user to be authenticated. Once triggered, the stored XSS can affect any visitor to the site, leading to broad confidentiality and integrity risks.

Generated by OpenCVE AI on April 30, 2026 at 21:05 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to the latest Custom Functions Plugin version (1.2 or newer) to eliminate the CSRF and stored XSS flaw.
  • If an upgrade cannot be performed immediately, temporarily disable or remove the plugin from the WordPress installation to block the vulnerability.
  • Continuously monitor site logs and user activity for unexpected script injections or unusually privileged POST requests, and ensure that all input handled by the plugin is validated and sanitized.

Generated by OpenCVE AI on April 30, 2026 at 21:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-11996 Cross-Site Request Forgery (CSRF) vulnerability in Shamim Hasan Custom Functions Plugin allows Stored XSS. This issue affects Custom Functions Plugin: from n/a through 1.1.
History

Thu, 23 Apr 2026 15:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


Wed, 01 Apr 2026 23:45:00 +0000

Type Values Removed Values Added
Description Cross-Site Request Forgery (CSRF) vulnerability in Shamim Hasan Custom Functions Plugin allows Stored XSS. This issue affects Custom Functions Plugin: from n/a through 1.1. Cross-Site Request Forgery (CSRF) vulnerability in Shamim Hasan Custom Functions Plugin custom-functions allows Stored XSS.This issue affects Custom Functions Plugin: from n/a through <= 1.1.
References
Metrics cvssV3_1

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


Fri, 25 Apr 2025 14:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 24 Apr 2025 16:15:00 +0000

Type Values Removed Values Added
Description Cross-Site Request Forgery (CSRF) vulnerability in Shamim Hasan Custom Functions Plugin allows Stored XSS. This issue affects Custom Functions Plugin: from n/a through 1.1.
Title WordPress Custom Functions Plugin plugin <= 1.1 - CSRF to Stored XSS vulnerability
Weaknesses CWE-352
References
Metrics cvssV3_1

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


Subscriptions

Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Patchstack

Published:

Updated: 2026-04-28T16:12:39.770Z

Reserved: 2025-04-24T14:23:11.074Z

Link: CVE-2025-46512

cve-icon Vulnrichment

Updated: 2025-04-24T19:54:22.754Z

cve-icon NVD

Status : Deferred

Published: 2025-04-24T16:15:42.410

Modified: 2026-04-23T15:30:08.893

Link: CVE-2025-46512

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-30T21:15:06Z

Weaknesses