VYPR
Unrated severityNVD Advisory· Published Apr 25, 2018· Updated Aug 5, 2024

CVE-2018-10310

CVE-2018-10310

Description

A persistent cross-site scripting vulnerability has been identified in the web interface of the Catapult UK Cookie Consent plugin before 2.3.10 for WordPress that allows the execution of arbitrary HTML/script code in the context of a victim's browser.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected products

2

Patches

Vulnerability mechanics

Root cause

"Missing output sanitization of WordPress page titles in the plugin's admin interface allows stored XSS."

Attack vector

An attacker must first have authenticated access to the WordPress control panel. The attacker creates or edits a WordPress page and inserts malicious HTML/JavaScript into the page title. When the attacker (or another admin) navigates to Settings > Cookie Consent and clicks the "Content" tab, the unsanitized page title is rendered, causing the injected script to execute in the context of the victim's browser session [ref_id=1].

Affected code

The vulnerability resides in the UK Cookie Consent plugin's administrative interface, specifically in the "Content" tab under Settings > Cookie Consent. The plugin fails to sanitize page titles before rendering them in the admin panel, allowing stored script execution.

What the fix does

The advisory does not include a patch diff, but the vulnerability was addressed in version 2.3.10 of the plugin. The fix likely involves proper output encoding or sanitization of page titles before they are displayed in the Cookie Consent settings page, preventing the browser from interpreting injected HTML/script as executable code.

Preconditions

  • authAttacker must have authenticated access to the WordPress admin panel (e.g., an Author-level or higher account)
  • configThe UK Cookie Consent plugin version 2.3.9 or earlier must be installed and active

Reproduction

1. Log into the WordPress control panel. 2. Navigate to Pages and add a new page. 3. Insert malicious script (e.g., `

Generated on May 25, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.

References

4

News mentions

0

No linked articles in our index yet.