Comments Plugin Vulnerability (CVE-2026-15032)

On this page

Security Alert Summary

The Comments WordPress plugin contains a stored Cross-Site Scripting (XSS) vulnerability that allows an unauthenticated user to store a malicious payload in a user-supplied URL. The payload can execute in the browser of any user, including administrators, who views the affected content.


CVE Details

  • CVE ID: CVE-2026-15032
  • Affected component: Comments WordPress plugin
  • Affected versions: Versions before 7.6.60 (less than 7.6.60)
  • Published: August 7, 2026 at 06:16:55 AM UTC
  • Last modified: August 7, 2026 at 06:16:55 AM UTC
  • CVSS v3.1: Not provided
  • Authentication required: None (unauthenticated users can exploit)
  • Privileges required: None
  • User interaction: Victim must view the affected content for the payload to execute
  • Primary impact: Confidentiality and integrity (stored XSS leading to potential session or data exposure); availability not indicated
  • CWE / weakness: Not specified

Technical Details

The plugin fails to properly escape a user-supplied URL before outputting it inside an HTML attribute. Because that URL is stored and later rendered without appropriate escaping, an attacker can submit a crafted URL containing a JavaScript payload that is stored on the site (stored XSS). When another user, including an administrator, views the affected content, the browser will execute the injected script.

The vulnerability is caused by missing or insufficient output escaping for a URL value prior to insertion into an HTML attribute. The description does not name specific functions or REST endpoints; no additional code locations are specified in the provided data.

Impact is limited to what can be achieved through injected script execution in the context of a viewer’s browser: reading or modifying data accessible to the page, performing actions as the viewing user if their session is available to the browser, or exfiltrating sensitive information visible in that context. There is no claim of full site compromise in the provided information.


How This Could Impact Your Website

Consider a site where the owner, internal staff (editors or content managers), and external contributors or contractors can add or edit comments or content that include URLs. An external contributor could submit a comment or content item that includes a specially crafted URL containing an XSS payload. That payload would be stored by the site and could execute whenever any staff member or administrator views the page. Practical consequences include exposure of internal user email addresses or session tokens visible in the browser context, and an increased risk of targeted phishing or social engineering leveraging information harvested via the injected script.

If you’re unsure whether your site is affected or how to assess your current user roles and plugins, it may be worth having a professional review.


Recommended Actions

  • Update the affected plugin as soon as a patched version is available.
  • Review and reduce unnecessary user roles, especially contributor roles that can submit URLs or content.
  • Enforce strong passwords and two-factor authentication for editors and administrators.
  • Remove unused or unmaintained plugins.
  • Monitor site activity and logs for unusual behavior, such as unexpected content submissions or alerts from security plugins.

If you’d like help reviewing your plugins, user roles, or overall WordPress security posture, our team at Freshy is happy to help.


References