CVE-2026-8707
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Reflected XSS in NS Product icon badge plugin for WordPress up to 1.2.4 via unsanitized PHP_SELF allows unauthenticated attackers to inject arbitrary web scripts.
Vulnerability
The NS Product icon badge plugin for WordPress is vulnerable to Reflected Cross-Site Scripting (XSS) in all versions up to and including 1.2.4. The vulnerability exists because the plugin uses $_SERVER['PHP_SELF'] without proper input sanitization or output escaping in the file ns_addNewOptionsPage.php [1]. This allows an attacker to inject arbitrary JavaScript into the page when the PHP_SELF variable is reflected back to the user.
Exploitation
An unauthenticated attacker can exploit this vulnerability by crafting a malicious URL that includes a payload in the PHP_SELF parameter. The attacker then tricks a user into clicking the link, for example via phishing or social engineering. No authentication or special privileges are required. The injected script executes in the context of the victim's browser session on the WordPress admin dashboard.
Impact
Successful exploitation allows the attacker to execute arbitrary web scripts in the victim's browser. This can lead to session hijacking, defacement, or theft of sensitive information such as cookies or credentials. The attack is reflected, meaning the payload is not stored on the server, but the impact is immediate upon the victim clicking the crafted link.
Mitigation
As of the publication date (2026-05-27), no patched version has been released. The vendor has not provided a fix for versions up to 1.2.4. Users should disable the plugin until a security update is available. As a workaround, administrators can apply input sanitization and output escaping to $_SERVER['PHP_SELF'] in the affected file. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog at this time.
AI Insight generated on May 27, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2<=1.2.4+ 1 more
- (no CPE)range: <=1.2.4
- (no CPE)range: <=1.2.4
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
5- plugins.trac.wordpress.org/browser/product-icon-badge/tags/1.2.4/ns_IBA_mainOptions/ns_addNewOptionsPage.phpnvd
- plugins.trac.wordpress.org/browser/product-icon-badge/tags/1.2.4/ns_IBA_mainOptions/ns_addNewOptionsPage.phpnvd
- plugins.trac.wordpress.org/browser/product-icon-badge/tags/1.2.4/ns_IBA_mainOptions/ns_addNewOptionsPage.phpnvd
- plugins.trac.wordpress.org/browser/product-icon-badge/tags/1.2.4/ns_IBA_mainOptions/ns_addNewOptionsPage.phpnvd
- www.wordfence.com/threat-intel/vulnerabilities/id/d1c1847c-8cc9-4080-8da5-7364c4358034nvd
News mentions
0No linked articles in our index yet.