CVE-2025-31437

WordPress WP-OGP plugin <= 1.0.5 - Cross Site Scripting (XSS) Vulnerability

Published Mar 28, 2025 CVSS 3.1 · 5.9 Medium EPSS < 1% KEV · Not listed
Description
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in David Miller WP-OGP wp-ogp allows Stored XSS.This issue affects WP-OGP: from n/a through <= 1.0.5.

Analysis

AI-generated

Technical impact

The vulnerability is an Improper Neutralization of Input During Web Page Generation, allowing the WP‑OGP plugin to store malicious scripts that are later executed when a visitor loads a page generated by the plugin. This stored XSS flaw is classified as CWE‑79. If exploited, it can lead to the execution of arbitrary client‑side code, potentially resulting in session hijacking, site defacement, or redirection to malicious sites.

Affected Systems

The affected product is the WP‑OGP WordPress plugin, authored by David Miller. All releases up to and including version 1.0.5 are vulnerable; users who have installed any of these versions are at risk. No other vendors or products are listed.

Risk and Exploitability

The CVSS score of 5.9 indicates a medium severity vulnerability. The EPSS score of less than 1% suggests that exploitation probability is low at present. The issue is not listed in the CISA KEV catalog. The likely attack vector is through normal web traffic – an attacker submits malicious input via a form that the plugin accepts; the input is then stored and rendered on subsequent page loads, causing the script to run. No additional prerequisites beyond access to the vulnerable input interface are specified, so the risk remains moderate.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the WP‑OGP plugin to the latest available version to remove the XSS flaw.
  • If an upgrade is temporarily unavailable, identify and delete any stored malicious content in the plugin’s database and ensure all input is properly sanitized before storage.
  • Disable or remove the WP‑OGP plugin until a fixed version is installed.
  • Implement a Content Security Policy header to mitigate any remaining script execution risk.

Generated by OpenCVE AI on May 1, 2026 at 12:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-8601 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in David Miller WP-OGP allows Stored XSS. This issue affects WP-OGP: from n/a through 1.0.5.
History
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/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 David Miller WP-OGP allows Stored XSS. This issue affects WP-OGP: from n/a through 1.0.5. Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in David Miller WP-OGP wp-ogp allows Stored XSS.This issue affects WP-OGP: from n/a through <= 1.0.5.
Title WordPress WP-OGP <= 1.0.5 - Cross Site Scripting (XSS) Vulnerability WordPress WP-OGP plugin <= 1.0.5 - Cross Site Scripting (XSS) Vulnerability
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/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 David Miller WP-OGP allows Stored XSS. This issue affects WP-OGP: from n/a through 1.0.5.
Title WordPress WP-OGP <= 1.0.5 - Cross Site Scripting (XSS) Vulnerability
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 5.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:H/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
Mar 28, 2025, 11:00 AM
Status
Deferred
Published
Mar 28, 2025, 12:15 PM
Modified
Jun 17, 2026, 9:10 AM