CVE-2025-7661
BaseFortify
Publication date: 2025-07-19
Last updated on: 2025-07-22
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| wordpress | partnersky_system_martinus | 1.7.1 |
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?
This vulnerability is a Stored Cross-Site Scripting (XSS) issue in the Partnerský systém Martinus WordPress plugin (up to version 1.7.1). It occurs because the plugin's 'martinus' shortcode does not properly sanitize or escape user-supplied attributes. Authenticated users with contributor-level access or higher can inject malicious scripts into pages via the shortcode attributes. These scripts are then stored and executed whenever any user views the affected page, potentially compromising site security. [1]
How can this vulnerability impact me? :
The vulnerability allows attackers with contributor-level access to inject arbitrary JavaScript into pages, which executes in the context of users visiting those pages. This can lead to theft of user credentials, session hijacking, defacement, or distribution of malware. Since the injected scripts run for any user accessing the page, it can compromise site visitors and administrators, potentially leading to broader site compromise or data breaches. [1]
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by identifying the presence of the 'Partnerský systém Martinus' WordPress plugin version 1.7.1 or earlier, and by searching for usage of the 'martinus' shortcode in WordPress content. Additionally, monitoring for injected script tags that load JavaScript from 'https://partner.martinus.sk/banners/banner.js' with parameters such as 'type', 'uItem', and 'z' can indicate exploitation attempts. Commands to detect the plugin version and shortcode usage include: 1) Using WP-CLI to list installed plugins and their versions: `wp plugin list | grep martinus` 2) Searching the WordPress database for the shortcode usage: `wp search-replace '\[martinus' '' --dry-run` or querying the posts table for '[martinus' shortcode occurrences. 3) Network monitoring commands like `tcpdump` or `ngrep` to detect outbound requests to 'partner.martinus.sk' domain. These methods help identify vulnerable plugin presence and potential exploitation. [1]
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include: 1) Updating the 'Partnerský systém Martinus' plugin to a version later than 1.7.1 where the vulnerability is fixed, if available. 2) If an update is not available, temporarily disabling or uninstalling the plugin to prevent exploitation. 3) Restricting contributor-level and higher user permissions to trusted users only, as the vulnerability requires authenticated contributor-level access. 4) Monitoring and sanitizing content that uses the 'martinus' shortcode to remove any injected scripts. 5) Implementing web application firewall (WAF) rules to block suspicious script injections or requests to the external banner JavaScript URL. These steps reduce the risk of stored cross-site scripting attacks via this plugin. [1]