CVE-2025-31391 HIGH

CVE-2025-31391: WordPress Script Compressor plugin <= 1.7.1 - CSRF to Stored XSS vulnerability

Vendor Regen
Product Script Compressor
Weakness CWE-352 · CSRF
Published April 9, 2025
Last update May 12, 2026

CVSS base score

7.1/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

Script Compressor versions 1.7.1 and earlier are vulnerable to cross-site request forgery (CSRF) attacks. An attacker can craft a malicious webpage that, when visited by a logged-in site administrator, performs unwanted actions on the site without the administrator's knowledge. The attack requires the victim to visit the attacker's page while authenticated to the site.

What an attacker can do

03Attacker Capabilities

Perform unauthorized actions on the site by tricking an authenticated admin into visiting a malicious webpage.

Potential impact on your site

04Site Impact

An attacker can modify site settings or content if an admin visits a malicious link while logged in.

Conditions required to exploit

05Prerequisites

Site admin must be logged in and visit an attacker-controlled webpage; no special privileges required.

Key dates

06Disclosure timeline

April 9, 2025 CVE published
May 12, 2026 Record updated

Related vulnerabilities

08Related CVE