CVE-2025-15486
Stored XSS and Path Traversal in Kunze Law WordPress Plugin
Publication date: 2026-01-14
Last updated on: 2026-01-14
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| kunze | kunze_law | to 2.1 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
The Kunze Law WordPress plugin up to version 2.1 is vulnerable to Stored Cross-Site Scripting (XSS) because it fetches HTML content from a remote server and injects it into pages without sanitization or escaping. This allows authenticated users with Administrator-level access or higher to inject arbitrary web scripts into pages. These scripts execute whenever a user accesses the injected page. The vulnerability affects only multi-site installations or installations where unfiltered_html is disabled. Additionally, there is a path traversal vulnerability in the shortcode name that allows writing malicious HTML files to arbitrary writable locations on the server.
How can this vulnerability impact me? :
This vulnerability can allow an attacker with Administrator-level access to inject malicious scripts into WordPress pages, which will execute in the browsers of users who visit those pages. This can lead to theft of user credentials, session hijacking, defacement, or distribution of malware. The path traversal vulnerability can also allow attackers to write malicious HTML files to arbitrary locations on the server, potentially leading to further compromise or persistent backdoors.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
Detection can focus on identifying the presence of the Kunze Law plugin (version 2.1 or earlier) on multisite WordPress installations or installations with unfiltered_html disabled. Since the vulnerability involves shortcode usage like [kunze_filename], you can scan WordPress posts/pages content for such shortcodes. Additionally, monitoring HTTP requests or logs for unusual remote HTML fetches or unexpected HTML file writes in writable directories may help. Specific commands could include: 1) Searching for the plugin directory: `wp plugin list | grep kunze-law` 2) Searching for shortcode usage in the database: `wp db query "SELECT ID, post_content FROM wp_posts WHERE post_content LIKE '%[kunze_%]%';"` 3) Checking for suspicious HTML files in writable directories: `find /path/to/wordpress -name '*.html' -mtime -7` (to find recently modified HTML files) 4) Monitoring HTTP requests to remote servers configured in the plugin settings (requires access to logs). [2]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include: 1) Updating the Kunze Law plugin to a version later than 2.1 where the vulnerability is fixed (if available). 2) If an update is not available, disable the plugin, especially on multisite installations or where unfiltered_html is disabled. 3) Restrict Administrator-level access to trusted users only, as exploitation requires such privileges. 4) Review and restrict writable permissions on directories to prevent path traversal exploitation writing malicious HTML files. 5) Monitor and remove any injected malicious HTML files or scripts. 6) Consider enabling unfiltered_html capability if feasible to reduce risk. 7) Regularly back up your site and monitor for suspicious activity. [2]
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
The provided information does not specify how this vulnerability affects compliance with common standards and regulations such as GDPR or HIPAA.