CVE-2025-7649

Surbma | Recent Comments Shortcode <= 2.0 - Authenticated (Contributor+) Stored Cross-Site Scripting

Published Aug 16, 2025 CVSS 3.1 · 6.4 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
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
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 4:54 PM
Reserved
Jul 14, 2025, 5:27 PM
Status
Deferred
Published
Aug 16, 2025, 4:16 AM
Modified
Jun 17, 2026, 10:05 AM