Skip to main content
Vulnerability Database/CVE-2025-27327

CVE-2025-27327: SRS Player DOM-Based XSS Vulnerability

CVE-2025-27327 is a DOM-Based Cross-Site Scripting vulnerability in SRS Player Live Streaming Video Player that allows attackers to inject malicious scripts. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2025-27327 Overview

CVE-2025-27327 is a DOM-based Cross-Site Scripting (XSS) vulnerability in the Winlin Live Streaming Video Player – by SRS Player WordPress plugin (srs-player). The flaw affects all plugin versions up to and including 1.0.18. Improper neutralization of input during web page generation [CWE-79] allows an authenticated attacker with low privileges to inject script that executes in a victim's browser when user interaction occurs. Successful exploitation enables session hijacking, forced browser actions, and content manipulation within the WordPress site context.

Critical Impact

Attackers can execute arbitrary JavaScript in a victim's browser, enabling session theft, credential exposure, and unauthorized actions in the WordPress administrative context.

Affected Products

  • Winlin Live Streaming Video Player – by SRS Player (srs-player) WordPress plugin
  • All versions from initial release through 1.0.18
  • WordPress installations running the vulnerable plugin

Discovery Timeline

  • 2025-02-24 - CVE-2025-27327 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-27327

Vulnerability Analysis

The vulnerability is a DOM-based XSS flaw [CWE-79] in the SRS Player WordPress plugin. The plugin fails to sanitize user-controlled input before writing it into the Document Object Model (DOM). As a result, attacker-supplied values reach a DOM sink such as innerHTML, document.write, or an unescaped attribute assignment and are parsed as executable script.

Unlike reflected or stored XSS, DOM-based XSS executes entirely in the client-side JavaScript. The server never sees the malicious payload in the response body, which complicates server-side detection. Exploitation requires user interaction, consistent with the attack scope change identified in the CVSS vector.

The EPSS score reflects a currently low observed exploitation probability in the wild, but the public plugin surface and WordPress ecosystem reach make this plugin a practical target for opportunistic attackers.

Root Cause

The root cause is missing or incomplete output encoding when the plugin renders attacker-influenced data into the browser DOM. Input from URL parameters, hash fragments, or plugin configuration fields is passed to a client-side sink without HTML entity encoding or JavaScript context escaping. See the Patchstack XSS Vulnerability Report for the technical write-up.

Attack Vector

An authenticated attacker with low privileges crafts a URL or plugin input containing a JavaScript payload. The attacker delivers the link to a logged-in WordPress user, often an administrator. When the victim loads the page, the plugin's client-side code injects the payload into the DOM and the browser executes it. The scope change in the CVSS vector reflects that executed script can act outside the vulnerable component's immediate security context.

No verified public exploit code is available at this time. Technical details are described in the referenced advisory rather than reproduced here.

Detection Methods for CVE-2025-27327

Indicators of Compromise

  • Unexpected <script> tags, javascript: URIs, or event handler attributes (onerror, onload) appearing in request parameters targeting plugin endpoints
  • WordPress admin or editor sessions originating from unexpected IP addresses shortly after a user clicked a crafted link
  • Outbound browser requests to attacker-controlled domains following page loads that invoke srs-player rendering

Detection Strategies

  • Inspect HTTP traffic for URL parameters and fragments passed to srs-player pages that contain HTML or JavaScript metacharacters
  • Monitor browser Content Security Policy (CSP) violation reports for inline script execution on pages hosting the plugin
  • Review WordPress audit logs for unauthorized configuration changes made shortly after user interaction with plugin-rendered content

Monitoring Recommendations

  • Enable WordPress activity logging to capture administrative actions, user creation, and plugin configuration changes
  • Deploy a web application firewall (WAF) rule set tuned for XSS payload patterns targeting WordPress plugin endpoints
  • Alert on new or modified administrator accounts and on unexpected changes to theme or plugin files

How to Mitigate CVE-2025-27327

Immediate Actions Required

  • Identify all WordPress sites running the srs-player plugin and inventory installed versions
  • Deactivate the plugin on any site running version 1.0.18 or earlier until a patched release is confirmed
  • Rotate credentials and invalidate active sessions for administrator and editor accounts that may have interacted with crafted links

Patch Information

At the time of publication, no fixed version is listed in the NVD entry. Monitor the Patchstack advisory and the plugin's WordPress.org page for an updated release above 1.0.18. Apply the vendor patch across all WordPress installations as soon as it is available.

Workarounds

  • Remove or deactivate the srs-player plugin until a vendor-supplied patch is released
  • Restrict plugin configuration access to a minimum set of trusted administrators to reduce the authenticated attack surface
  • Deploy a strict Content Security Policy that disallows inline scripts and restricts script sources on pages that render the plugin
  • Train administrative users to avoid clicking untrusted links while authenticated to WordPress
bash
# Example: disable the vulnerable plugin via WP-CLI
wp plugin deactivate srs-player
wp plugin status srs-player

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.