CVE-2025-31829

WordPress ShopCred plugin <= 1.3.0 - Cross Site Scripting (XSS) vulnerability

Published Apr 1, 2025 CVSS 3.1 · 6.5 Medium EPSS < 1% KEV · Not listed
Description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in devscred ShopCred shopcred allows DOM-Based XSS.This issue affects ShopCred: from n/a through <= 1.3.0.

Analysis

AI-generated

Technical impact

Improper neutralization of input during web page generation allows a DOM‐Based XSS in the WordPress plugin ShopCred. The flaw permits an attacker to inject arbitrary JavaScript into the page rendered for a user, potentially leading to cookie theft, session hijacking, or defacement, as is typical with XSS vulnerabilities. This issue is identified as CWE‑79 and results from unescaped user‑supplied data being inserted into the DOM.

Affected Systems

ShopCred plugin for WordPress by devscred is affected. All versions from the earliest through 1.3.0 inclusive are vulnerable. No specific sub‑versions are listed beyond the <=1.3.0 bound.

Risk and Exploitability

The CVSS score of 6.5 indicates moderate severity, combining potential for data compromise with limited access requirements. EPSS indicates a very low probability of exploitation (<1 %), and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is remote via crafting input or URLs that cause the victim’s browser to execute injected script, as typical for DOM‑Based XSS. Exploitation requires a user’s browser to process the malicious payload, making it user‑interaction dependent.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade ShopCred to the latest version that contains the fix.
  • If an update is not available, disable or remove the ShopCred plugin to eliminate the risk.
  • Implement a Content Security Policy (CSP) to restrict executable scripts and mitigate XSS attacks.
  • Ensure all user‑supplied input that is rendered in the DOM is properly escaped or sanitized.

Generated by OpenCVE AI on May 1, 2026 at 01:59 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-9202 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in devscred ShopCred allows DOM-Based XSS. This issue affects ShopCred: from n/a through 1.2.8.
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/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 devscred ShopCred allows DOM-Based XSS. This issue affects ShopCred: from n/a through 1.2.8. Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in devscred ShopCred shopcred allows DOM-Based XSS.This issue affects ShopCred: from n/a through <= 1.3.0.
Title WordPress ShopCred plugin <= 1.2.8 - Cross Site Scripting (XSS) vulnerability WordPress ShopCred plugin <= 1.3.0 - Cross Site Scripting (XSS) vulnerability
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/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 devscred ShopCred allows DOM-Based XSS. This issue affects ShopCred: from n/a through 1.2.8.
Title WordPress ShopCred plugin <= 1.2.8 - Cross Site Scripting (XSS) vulnerability
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/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:12 PM
Reserved
Apr 1, 2025, 1:20 PM
Status
Deferred
Published
Apr 1, 2025, 3:16 PM
Modified
Jun 17, 2026, 9:11 AM