Description
Cross-Site Request Forgery (CSRF) vulnerability in regen Script Compressor script-compressor allows Stored XSS.This issue affects Script Compressor: from n/a through <= 1.7.1.
Published: 2025-04-09
Score: 7.1 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Script Compressor plugin for WordPress contains a Cross‑Site Request Forgery vulnerability that permits an attacker to submit a forged request that stores malicious JavaScript in the site’s configuration or content. The injected script is executed in the browsers of anyone who views the affected page, enabling cookie theft, session hijacking, defacement, or other credential‑stealing attacks. This flaw is identified as CWE‑352, a classic CSRF leading to stored XSS.

Affected Systems

The vulnerability affects the WordPress plugin known as Script Compressor, managed by the vendor regen, for all releases up to and including version 1.7.1. Sites running this plugin without patching expose themselves to the risk described above.

Risk and Exploitability

The CVSS score of 7.1 places the flaw in the high‑moderate risk range. The EPSS score is below 1%, indicating that exploitation attempts are currently very few, and the vulnerability is not listed in the CISA KEV catalog. Nevertheless, because the attack vector is a typical CSRF leading to stored XSS, an attacker only needs a victim to submit a crafted request—often through a malicious link or embedded image—to trigger the vulnerability.

Generated by OpenCVE AI on April 30, 2026 at 23:41 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade the Script Compressor plugin to a version newer than 1.7.1.
  • If upgrading is not currently an option, disable or remove the plugin entirely to eliminate the attack surface.
  • Implement CSRF token verification for all incoming requests to the plugin’s endpoints so that only authenticated, intentional submissions are processed.

Generated by OpenCVE AI on April 30, 2026 at 23:41 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-10631 Cross-Site Request Forgery (CSRF) vulnerability in regen Script Compressor allows Stored XSS. This issue affects Script Compressor: from n/a through 1.7.1.
History

Thu, 23 Apr 2026 15:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

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


Wed, 01 Apr 2026 23:45:00 +0000

Type Values Removed Values Added
Description Cross-Site Request Forgery (CSRF) vulnerability in regen Script Compressor allows Stored XSS. This issue affects Script Compressor: from n/a through 1.7.1. Cross-Site Request Forgery (CSRF) vulnerability in regen Script Compressor script-compressor allows Stored XSS.This issue affects Script Compressor: from n/a through <= 1.7.1.
References
Metrics cvssV3_1

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


Wed, 09 Apr 2025 18:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Wed, 09 Apr 2025 16:30:00 +0000

Type Values Removed Values Added
Description Cross-Site Request Forgery (CSRF) vulnerability in regen Script Compressor allows Stored XSS. This issue affects Script Compressor: from n/a through 1.7.1.
Title WordPress Script Compressor plugin <= 1.7.1 - CSRF to Stored XSS vulnerability
Weaknesses CWE-352
References
Metrics cvssV3_1

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


Subscriptions

Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Patchstack

Published:

Updated: 2026-05-12T00:05:38.464Z

Reserved: 2025-03-28T10:59:28.532Z

Link: CVE-2025-31391

cve-icon Vulnrichment

Updated: 2025-04-09T17:39:51.608Z

cve-icon NVD

Status : Deferred

Published: 2025-04-09T17:15:37.743

Modified: 2026-04-23T15:27:44.513

Link: CVE-2025-31391

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-30T23:45:03Z

Weaknesses
  • CWE-352

    Cross-Site Request Forgery (CSRF)