Description
The Seraphinite Accelerator plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'seraph_accel_prep' parameter in versions up to, and including, 2.29.15. This is due to the CacheExtractPreparePageParams() function using PHP's loose inequality operator (!=) to compare the expected HMAC string against the JSON-decoded 'nonce' value — supplying the JSON boolean true causes any non-empty HMAC string to compare as loosely equal, bypassing the signature check — combined with insufficient output escaping in the _CbContentFinishSkip() function, which concatenates the attacker-controlled 'selfTest' field directly into the HTML response body. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a specially crafted link.
Published: 2026-08-05
Score: 6.1 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Seraphinite Accelerator plugin for WordPress contains a reflected XSS flaw exposed through the 'seraph_accel_prep' parameter. The plugin’s CacheExtractPreparePageParams() function uses PHP’s loose inequality operator to compare an HMAC against the JSON-decoded 'nonce' value. By supplying the JSON boolean true as the HMAC, any non‑empty HMAC string passes validation, allowing an attacker to inject arbitrary JavaScript via the 'selfTest' field which is concatenated unescaped into the HTML response by _CbContentFinishSkip(). An unauthenticated attacker can exploit this by sending a victim a crafted link that triggers the script execution, enabling cookie theft, session hijacking, defacement or malware delivery.

Affected Systems

Seraphinite Accelerator plugin for WordPress, versions 2.29.15 and earlier (the CVE title indicates that releases up to 2.29.18 may also be affected). This plugin is installed on WordPress‑based websites.

Risk and Exploitability

CVSS score 6.1 flags a medium‑severity vulnerability. The EPSS score is not available, so the exact exploitation probability is uncertain. The flaw is not listed in the CISA KEV catalogue. Attackers can exploit it remotely without authentication by luring users to specially crafted links; because the plugin is widely deployed, the attack surface is broad, raising the overall risk for affected sites until a fix is applied.

Generated by OpenCVE AI on August 5, 2026 at 08:29 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Seraphinite Accelerator plugin to the latest version that contains the XSS fix, or remove the plugin if an update is not available.
  • If the plugin remains in use, apply a Content Security Policy that blocks inline scripts and enforces a strict script source to mitigate XSS exploitation.
  • Re‑configure or disable any plugin settings allowing arbitrary 'selfTest' parameters, and review the plugin’s code or security patches for proper HMAC validation and output escaping.

Generated by OpenCVE AI on August 5, 2026 at 08:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 05 Aug 2026 09:45:00 +0000

Type Values Removed Values Added
First Time appeared Seraphinitesolutions
Seraphinitesolutions seraphinite Accelerator
Wordpress
Wordpress wordpress
Vendors & Products Seraphinitesolutions
Seraphinitesolutions seraphinite Accelerator
Wordpress
Wordpress wordpress

Wed, 05 Aug 2026 07:30:00 +0000

Type Values Removed Values Added
Description The Seraphinite Accelerator plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'seraph_accel_prep' parameter in versions up to, and including, 2.29.15. This is due to the CacheExtractPreparePageParams() function using PHP's loose inequality operator (!=) to compare the expected HMAC string against the JSON-decoded 'nonce' value — supplying the JSON boolean true causes any non-empty HMAC string to compare as loosely equal, bypassing the signature check — combined with insufficient output escaping in the _CbContentFinishSkip() function, which concatenates the attacker-controlled 'selfTest' field directly into the HTML response body. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a specially crafted link.
Title Seraphinite Accelerator <= 2.29.18 - Reflected Cross-Site Scripting
Weaknesses CWE-79
References
Metrics cvssV3_1

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


Subscriptions

Seraphinitesolutions Seraphinite Accelerator
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-08-05T06:37:56.029Z

Reserved: 2026-07-27T08:54:20.732Z

Link: CVE-2026-17532

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T09:30:11Z

Weaknesses
  • CWE-79

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