LiveActive security incident?Get immediate response
CVE Record

CVE-2025-31473: WordPress WP Database Optimizer plugin <= 1.2.1.3 - Cross Site Scripting (XSS) Vulnerability

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in matthewprice1178 WP Database Optimizer wp-database-optimizer allows Stored XSS.This issue affects WP Database Optimizer: from n/a through <= 1.2.1.3.

MediumCVSS 5.9Not KEV-listedUpdated
Glexia's TakeAutomated analysismoderate

Security readout for executives and security teams

Plain-English summary

CVE-2025-31473 is a stored cross-site scripting issue in the WordPress WP Database Optimizer plugin through version 1.2.1.3. A highly privileged user could store unsafe content that later runs in another user’s browser. Business risk is moderate because exploitation requires high privileges and user interaction, but it can still affect sensitive admin sessions.

Executive priority

Treat this as a scheduled but real WordPress hygiene item. Prioritize sites with many administrators, contractor access, or sensitive admin activity. It is not supported as an emergency exploitation case by the provided sources.

Technical view

The CVE records improper neutralization of input during web page generation, categorized as CWE-79. The CVSS 3.1 score is 5.9 with network access, low complexity, high privileges required, user interaction required, and changed scope. Available sources identify affected versions as WP Database Optimizer through 1.2.1.3.

Likely exposure

Exposure is limited to WordPress sites with the WP Database Optimizer plugin installed at version 1.2.1.3 or earlier. The provided sources do not identify affected WordPress core versions, themes, hosting platforms, or other plugins.

Exploitation context

The source bundle does not show active exploitation, public weaponization, or CISA KEV listing. The CVSS vector indicates an attacker needs high privileges and must cause a user interaction, which reduces likelihood but does not remove risk in shared-admin or delegated-management environments.

Researcher notes

Evidence is narrow: the bundle provides CVE metadata and a Patchstack advisory reference, but no detailed vulnerable parameter, proof of exploitation, or confirmed fixed version. Avoid assuming more affected software or remediation specifics beyond checking official guidance.

Mitigation direction

  • Inventory WordPress sites for WP Database Optimizer installations and versions.
  • Check vendor, WordPress plugin, and Patchstack guidance for a fixed release.
  • Update to a fixed version if one is documented by the vendor.
  • Disable or remove the plugin where no trusted fix is available.
  • Limit high-privilege WordPress accounts to trusted administrators only.

Validation and detection

  • Confirm whether WP Database Optimizer is installed on each WordPress site.
  • Record the installed plugin version and compare it with version 1.2.1.3.
  • Review admin-access roles that can modify plugin-controlled content or settings.
  • Check security monitoring for unexpected script content in plugin-related pages.
  • Verify remediation by confirming plugin update, removal, or compensating access controls.
Prepared
Confidence
medium
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-79: User-session and phishing behavior lookup

Client-side and session-facing weaknesses should be reviewed alongside initial-access and user-execution behaviors. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Database behavior lookup

The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2025-31473 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
Medium
CVSS
5.9 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
5.9CVSS 3.1MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L1.73.7Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

5.9Medium
CVSS 3.1 vector shape for CVE-2025-31473Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
matthewprice1178WP Database Optimizerwp-database-optimizer, 0unaffected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-79 · source CWE mapping

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

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.