CVE-2026-8707
Deferred Deferred - Pending Action
Reflected Cross-Site Scripting in NS Product Icon Badge WordPress Plugin

Publication date: 2026-05-27

Last updated on: 2026-05-27

Assigner: Wordfence

Description
The NS Product icon badge plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via PHP_SELF in all versions up to, and including, 1.2.4 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-27
Last Modified
2026-05-27
Generated
2026-06-16
AI Q&A
2026-05-27
EPSS Evaluated
2026-06-15
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
ns_product icon_badge_plugin to 1.2.4 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
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 Quick Actions
Instant insights powered by AI
Mitigation Strategies

To mitigate this vulnerability, you should update the NS Product icon badge plugin for WordPress to a version later than 1.2.4 where the reflected cross-site scripting issue via PHP_SELF is fixed.

Additionally, consider implementing web application firewall (WAF) rules to block malicious input attempts and ensure proper input sanitization and output escaping in your WordPress plugins.

Impact Analysis

This vulnerability can lead to the execution of arbitrary scripts in the context of the affected website.

  • It can allow attackers to steal sensitive information such as cookies or session tokens.
  • Attackers might perform actions on behalf of the user without their consent.
  • It can lead to defacement or manipulation of website content.
  • Since the attack requires user interaction (clicking a link), it may be used in phishing or social engineering attacks.
Executive Summary

The NS Product icon badge plugin for WordPress has a vulnerability known as Reflected Cross-Site Scripting (XSS) via the PHP_SELF variable in all versions up to and including 1.2.4.

This vulnerability arises because the plugin does not properly sanitize or escape user input, allowing attackers to inject malicious web scripts.

An unauthenticated attacker can exploit this by tricking a user into clicking a specially crafted link, which causes the injected script to execute in the user's browser.

Compliance Impact

The vulnerability allows unauthenticated attackers to inject arbitrary web scripts via reflected cross-site scripting (XSS), which can lead to unauthorized access to user data or session hijacking.

Such security weaknesses can impact compliance with standards like GDPR and HIPAA, which require protection of personal and sensitive data against unauthorized access and attacks.

Failure to mitigate this vulnerability could result in data breaches or exposure of personal information, potentially violating these regulations.

Detection Guidance

This vulnerability involves Reflected Cross-Site Scripting (XSS) via the PHP_SELF variable in the NS Product icon badge plugin for WordPress versions up to 1.2.4. Detection typically involves checking for the presence of the vulnerable plugin version and testing for XSS payloads in URLs that reflect input via PHP_SELF.

To detect this vulnerability on your system, you can:

  • Identify if the NS Product icon badge plugin is installed and its version is 1.2.4 or earlier.
  • Use a web proxy or browser developer tools to test URLs that include script payloads in the path or query parameters that might be reflected via PHP_SELF.
  • Example command using curl to test for reflected XSS (replace example.com with your site):
  • curl -i "http://example.com/wp-content/plugins/ns_product_icon_badge_plugin/somepath/<script>alert(1)</script>"
  • Observe if the script tag is reflected unescaped in the response body, indicating vulnerability.
  • Alternatively, use automated vulnerability scanners that support WordPress plugin XSS detection.
Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-8707. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart