Description
The Surbma | Recent Comments Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'recent-comments' shortcode in all versions up to, and including, 2.0 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Published: 2025-08-16
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting via insufficient input sanitization in the WordPress shortcode
Action: Patch or Update
AI Analysis

Impact

The Surbma | Recent Comments Shortcode plugin for WordPress contains a stored cross‑site scripting flaw because it fails to sanitize user supplied attributes in the 'recent‑comments' shortcode. This allows an authenticated contributor or higher to inject arbitrary JavaScript that is stored in the content and will run in the browsers of any user who visits the page containing the shortcode. The resulting impact is script execution that can lead to session hijacking, defacement, or malware delivery.

Affected Systems

WordPress installations that have the Surbma | Recent Comments Shortcode plugin installed, on any version up to and including 2.0.

Risk and Exploitability

The CVSS score of 6.4 indicates a moderate severity, while the EPSS score of <1% shows a very low probability of exploitation. The vulnerability is not yet cataloged in the CISA KEV list. Exploitation requires an authenticated user with contributor-level access or higher, so the attack vector is likely via the WordPress shortcode mechanism. The overall risk can be considered low to moderate given the limited attacker access requirement and low exploitation likelihood.

Generated by OpenCVE AI on April 21, 2026 at 03:32 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Surbma plugin to a version newer than 2.0 where the input sanitization and output escaping are fixed.
  • If an update is not available, disable or remove the 'recent-comments' shortcode from public pages or uninstall the plugin entirely.
  • Restrict contributor users to minimal capabilities and monitor for unauthorized content changes.
  • Implement web application firewall rules or a content security policy to block execution of scripts injected via the shortcode.

Generated by OpenCVE AI on April 21, 2026 at 03:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-25068 The Surbma | Recent Comments Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'recent-comments' shortcode in all versions up to, and including, 2.0 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
History

Mon, 18 Aug 2025 21:00:00 +0000

Type Values Removed Values Added
First Time appeared Surbma
Surbma recent Comments Shortcode
Wordpress
Wordpress wordpress
Vendors & Products Surbma
Surbma recent Comments Shortcode
Wordpress
Wordpress wordpress

Mon, 18 Aug 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Sat, 16 Aug 2025 03:45:00 +0000

Type Values Removed Values Added
Description The Surbma | Recent Comments Shortcode plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the plugin's 'recent-comments' shortcode in all versions up to, and including, 2.0 due to insufficient input sanitization and output escaping on user supplied attributes. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Title Surbma | Recent Comments Shortcode <= 2.0 - Authenticated (Contributor+) Stored Cross-Site Scripting
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Surbma Recent Comments Shortcode
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:54:39.058Z

Reserved: 2025-07-14T17:27:25.138Z

Link: CVE-2025-7649

cve-icon Vulnrichment

Updated: 2025-08-18T13:37:33.315Z

cve-icon NVD

Status : Deferred

Published: 2025-08-16T04:16:05.627

Modified: 2026-04-15T00:35:42.020

Link: CVE-2025-7649

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-21T03:45:27Z

Weaknesses