---
id: CVE-2025-12705
title: >-
  The Social Reviews & Recommendations plugin for WordPress is vulnerable to
  Stored Cross-Site Scripting via several parameters in the 'trim_text' function
  in all versions up to, and including, 2.5 due to insufficient input
  sanitization an…
summary: >-
  The Social Reviews & Recommendations plugin for WordPress is vulnerable to
  Stored Cross-Site Scripting via several parameters in the 'trim_text' function
  in all versions up to, and including, 2.5 due to insufficient input
  sanitization an…
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2025-12-09'
updated: '2026-09-30'
sourceUpdated: '2026-09-30T16:10:00.223'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-12705'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/fb-reviews-widget/trunk/includes/class-view.php#L447
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/fb-reviews-widget/trunk/includes/class-view.php#L449
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/fb-reviews-widget/trunk/includes/class-view.php#L452
    label: security@wordfence.com
  - url: 'https://plugins.trac.wordpress.org/changeset/3393291/'
    label: security@wordfence.com
  - url: 'https://plugins.trac.wordpress.org/changeset/3406362/'
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/6d2aa302-aaab-4bf1-9a79-144290b967de?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00374
epssPercentile: 0.28928
ingestedAt: '2026-09-30T17:13:20.753Z'
---

## Overview

The Social Reviews & Recommendations plugin for WordPress is vulnerable to Stored Cross-Site Scripting via several parameters in the 'trim_text' function in all versions up to, and including, 2.5 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. The vulnerability was partially patched in version 2.5.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
