CVE-2025-50021

WordPress Better Random Redirect plugin <= 1.3.20 - Cross Site Scripting (XSS) Vulnerability

Published Jun 20, 2025 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
Description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Robert Peake Better Random Redirect better-random-redirect allows Stored XSS.This issue affects Better Random Redirect: from n/a through <= 1.3.20.

Analysis

AI-generated

Technical impact

The Better Random Redirect plugin for WordPress contains an improper neutralization of input during web page generation that leads to a stored cross‑site scripting vulnerability. The flaw allows attackers to insert malicious scripts that are subsequently served to any visitor of the affected site. If exploited, an attacker can execute arbitrary JavaScript in the victim’s browser, potentially stealing cookies, hijacking sessions, or performing unauthorized actions within the site’s context.

Affected Systems

The vulnerability is present in the Better Random Redirect plugin from Robert Peake, affecting every release up to and including version 1.3.20. No affected versions beyond 1.3.20 are listed in the CNA data.

Risk and Exploitability

The CVSS score of 5.9 indicates medium impact under the conditions described. The EPSS score is below 1 percent, suggesting a low probability of exploitation in the near term, and the flaw is not listed in the CISA KEV catalog. Based on the description, the likely attack vector is via the plugin’s input forms or settings where an attacker can store malicious script code that is later served to site visitors. No additional prerequisites are specified in the public data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Better Random Redirect to the latest version if a fix is available.
  • If an upgrade is infeasible, disable the plugin until a fixed version is available.
  • Apply input validation and output encoding to any plugin configuration fields or use a Content Security Policy to mitigate script execution.

Generated by OpenCVE AI on April 30, 2026 at 17:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-18928 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Robert Peake Better Random Redirect allows Stored XSS. This issue affects Better Random Redirect: from n/a through 1.3.20.
History
Type Values Removed Values Added
Metrics cvssV3_1

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

Type Values Removed Values Added
Description Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Robert Peake Better Random Redirect allows Stored XSS. This issue affects Better Random Redirect: from n/a through 1.3.20. Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Robert Peake Better Random Redirect better-random-redirect allows Stored XSS.This issue affects Better Random Redirect: from n/a through <= 1.3.20.
References
Metrics cvssV3_1

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

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 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Robert Peake Better Random Redirect allows Stored XSS. This issue affects Better Random Redirect: from n/a through 1.3.20.
Title WordPress Better Random Redirect plugin <= 1.3.20 - Cross Site Scripting (XSS) Vulnerability
Weaknesses CWE-79
References
Metrics cvssV3_1

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

Subscriptions

No data.

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Patchstack
Published
Updated
Apr 28, 2026, 4:13 PM
Reserved
Jun 11, 2025, 4:08 PM
Status
Deferred
Published
Jun 20, 2025, 3:15 PM
Modified
Jun 17, 2026, 9:34 AM