CVE-2025-58212 Overview
CVE-2025-58212 is a DOM-Based Cross-Site Scripting (XSS) vulnerability in the Epeken All Kurir WordPress plugin developed by epeken. The flaw affects all plugin versions up to and including 2.0.1. Improper neutralization of user-controlled input during web page generation allows attackers to inject and execute arbitrary JavaScript in the victim's browser context. The vulnerability is classified under CWE-79 and requires low privileges and user interaction to exploit. Because the scope changes upon successful exploitation, an attacker can affect resources beyond the vulnerable component.
Critical Impact
Authenticated attackers with low-level access can execute arbitrary JavaScript in a victim's browser, potentially hijacking sessions, stealing credentials, or performing actions on behalf of higher-privileged users.
Affected Products
- Epeken All Kurir WordPress plugin (epeken-all-kurir) versions up to and including 2.0.1
- WordPress sites running the vulnerable plugin
- Any environment where authenticated users can interact with plugin-generated content
Discovery Timeline
- 2025-08-27 - CVE-2025-58212 published to NVD
- 2026-06-17 - Last updated in NVD database
Technical Details for CVE-2025-58212
Vulnerability Analysis
The vulnerability resides in the client-side JavaScript logic of the Epeken All Kurir plugin. The plugin writes user-controllable data into the Document Object Model (DOM) without proper sanitization or encoding. When a victim loads a page containing the attacker-supplied payload, the browser parses and executes the injected script within the site's origin.
DOM-Based XSS differs from reflected or stored variants because the injection occurs entirely in the browser. The malicious payload flows from a client-side source, such as location.hash or document.URL, into a dangerous sink like innerHTML or document.write without server-side interception. Attackers can leverage this to execute code in the context of authenticated administrators or editors who visit crafted URLs.
Exploitation requires user interaction, meaning a victim must click a malicious link or visit a poisoned page. The attack scope extends beyond the plugin component, allowing impact on the broader WordPress session and cookies accessible to the site origin.
Root Cause
The plugin fails to apply output encoding or input validation to values consumed by client-side rendering routines. Data flowing from user-controlled sources reaches a script-execution sink without passing through a safe DOM API such as textContent or a sanitization library.
Attack Vector
An attacker crafts a URL containing a JavaScript payload in a location the plugin reads on the client side. The attacker delivers this URL to an authenticated WordPress user through phishing or social engineering. When the target loads the URL, the plugin's JavaScript writes the payload into the DOM and the browser executes it.
Refer to the Patchstack advisory for the specific vulnerable code paths.
Detection Methods for CVE-2025-58212
Indicators of Compromise
- Unexpected <script> tags or JavaScript event handlers in DOM elements rendered by the Epeken All Kurir plugin
- WordPress access logs showing requests with suspicious URL fragments, hash values, or query parameters containing HTML or JavaScript syntax
- Unusual outbound requests from administrator browsers to attacker-controlled domains following plugin page visits
Detection Strategies
- Inventory WordPress installations to identify sites running epeken-all-kurir version 2.0.1 or earlier
- Deploy a Content Security Policy (CSP) in report-only mode to surface inline script violations originating from plugin pages
- Scan browser telemetry for DOM sinks receiving tainted data from URL fragments on plugin-rendered pages
Monitoring Recommendations
- Alert on WordPress administrator sessions initiating unexpected privileged actions shortly after loading plugin URLs
- Monitor web server logs for requests containing encoded script fragments in query strings or fragments
- Track plugin update status across managed WordPress fleets to confirm patched versions are deployed
How to Mitigate CVE-2025-58212
Immediate Actions Required
- Identify all WordPress installations running the Epeken All Kurir plugin at version 2.0.1 or earlier
- Restrict administrative access and require multi-factor authentication for all privileged WordPress accounts
- Advise privileged users to avoid clicking untrusted links referencing the affected site
Patch Information
At the time of publication, the vendor advisory tracked by Patchstack lists all versions through 2.0.1 as affected. Site operators should consult the Patchstack advisory for the latest fixed version and update the plugin through the WordPress admin dashboard once available.
Workarounds
- Deactivate and remove the Epeken All Kurir plugin until a patched release is available
- Deploy a web application firewall (WAF) rule to block requests containing script payloads in URL fragments and query parameters targeting plugin endpoints
- Enforce a strict Content Security Policy that disallows inline script execution and restricts script sources to trusted origins
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

