CVE-2025-5337
BaseFortify
Publication date: 2025-06-14
Last updated on: 2025-07-09
Assigner: Wordfence
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| metaslider | slider\,_gallery\,_and_carousel | to 3.99.0 (exc) |
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 vulnerability in the Slider, Gallery, and Carousel by MetaSlider WordPress plugin (up to version 3.98.0) is a Stored Cross-Site Scripting (XSS) issue. It occurs because the 'aria-label' parameter is not properly sanitized or escaped. Authenticated users with Contributor-level access or higher can inject malicious scripts into pages via this parameter. These scripts then execute whenever any user views the infected page, potentially compromising user data or site integrity.
How can this vulnerability impact me? :
This vulnerability can allow attackers with Contributor-level access to inject arbitrary JavaScript into 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 other malicious actions performed on behalf of the user without their consent.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability can be detected by checking for the presence of malicious or unexpected scripts injected via the 'aria-label' parameter in MetaSlider slideshows. Since the vulnerability involves Stored Cross-Site Scripting (XSS) exploitable by authenticated users with Contributor-level access or higher, detection involves inspecting the content of slideshows for suspicious script tags or payloads in the 'aria-label' attribute. You can use commands to search the WordPress database for suspicious 'aria-label' values or scan the HTML output of pages containing MetaSlider slideshows. For example, using WP-CLI to search posts or options for suspicious content: `wp db query "SELECT * FROM wp_posts WHERE post_content LIKE '%<script>%' OR post_content LIKE '%aria-label%<script>%'"`. Additionally, network monitoring tools can be used to detect unusual script injections in HTTP responses containing MetaSlider content.
What immediate steps should I take to mitigate this vulnerability?
Immediate mitigation steps include updating the MetaSlider plugin to version 3.99.0 or later, where the vulnerability is addressed by properly encoding the 'aria-label' attribute to prevent script injection. Until the update can be applied, restrict Contributor-level and higher user permissions to trusted users only, to reduce the risk of exploitation. Additionally, consider implementing Web Application Firewall (WAF) rules to detect and block suspicious script injections in the 'aria-label' parameter. Monitoring and sanitizing user inputs related to slideshows can also help mitigate the risk. [2]