CVE-2025-60158

5.9 MEDIUM

📋 TL;DR

This stored cross-site scripting (XSS) vulnerability in the Nota Fiscal Eletrônica WooCommerce WordPress plugin allows attackers to inject malicious scripts into web pages. When users view affected pages, the scripts execute in their browsers, potentially stealing session cookies or performing actions on their behalf. All WordPress sites using vulnerable versions of this plugin are affected.

💻 Affected Systems

Products:
  • Nota Fiscal Eletrônica WooCommerce WordPress plugin
Versions: All versions up to and including 3.4.0.6
Operating Systems: Any OS running WordPress
Default Config Vulnerable: ⚠️ Yes
Notes: Requires WordPress with WooCommerce installed. The plugin must be active and vulnerable.

⚠️ Manual Verification Required

This CVE does not have specific version information in our database, so automatic vulnerability detection cannot determine if your system is affected.

Why? The CVE database entry doesn't specify which versions are vulnerable (no version ranges provided by the vendor/NVD).

🔒 Custom verification scripts are available for registered users. Sign up free to download automated test scripts.

Recommended Actions:
  1. Review the CVE details at NVD
  2. Check vendor security advisories for your specific version
  3. Test if the vulnerability is exploitable in your environment
  4. Consider updating to the latest version as a precaution

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers could steal administrator session cookies, take over WordPress sites, deface websites, or redirect users to malicious sites.

🟠

Likely Case

Attackers steal user session cookies or credentials, perform unauthorized actions on behalf of users, or display malicious content.

🟢

If Mitigated

With proper input validation and output encoding, malicious scripts would be neutralized before execution.

🌐 Internet-Facing: HIGH
🏢 Internal Only: MEDIUM

🎯 Exploit Status

Public PoC: ✅ No
Weaponized: UNKNOWN
Unauthenticated Exploit: ✅ No
Complexity: MEDIUM

Exploitation requires finding input vectors that aren't properly sanitized. The vulnerability is stored, meaning injected scripts persist.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Version after 3.4.0.6

Vendor Advisory: https://patchstack.com/database/wordpress/plugin/nota-fiscal-eletronica-woocommerce/vulnerability/wordpress-nota-fiscal-eletronica-woocommerce-plugin-3-4-0-6-cross-site-scripting-xss-vulnerability?_s_id=cve

Restart Required: No

Instructions:

1. Log into WordPress admin panel. 2. Navigate to Plugins > Installed Plugins. 3. Find 'Nota Fiscal Eletrônica WooCommerce'. 4. Click 'Update Now' if available. 5. Alternatively, download latest version from WordPress repository and replace plugin files.

🔧 Temporary Workarounds

Disable Plugin

WordPress

Temporarily disable the vulnerable plugin until patched

wp plugin deactivate nota-fiscal-eletronica-woocommerce

Implement WAF Rules

all

Add web application firewall rules to block XSS payloads

🧯 If You Can't Patch

  • Disable the Nota Fiscal Eletrônica WooCommerce plugin immediately
  • Implement strict Content Security Policy (CSP) headers to mitigate XSS impact

🔍 How to Verify

Check if Vulnerable:

Check WordPress admin > Plugins > Installed Plugins for Nota Fiscal Eletrônica WooCommerce version

Check Version:

wp plugin get nota-fiscal-eletronica-woocommerce --field=version

Verify Fix Applied:

Verify plugin version is greater than 3.4.0.6 in WordPress admin

📡 Detection & Monitoring

Log Indicators:

  • Unusual POST requests to plugin endpoints
  • Suspicious script tags in form submissions
  • Multiple failed XSS attempts in web server logs

Network Indicators:

  • HTTP requests containing script tags or JavaScript payloads to plugin URLs
  • Unexpected outbound connections from user browsers after visiting affected pages

SIEM Query:

source="web_logs" AND (uri="*nota-fiscal*" OR uri="*woocommerce*") AND (content="<script>" OR content="javascript:" OR content="onerror=" OR content="onload=")

🔗 References

📤 Share & Export