Description
The Narrative Publisher WordPress plugin through 1.0.7 does not restrict write access to a REST-exposed post meta field or escape it when rendering, allowing users with contributor-level access and above to store JavaScript that executes in the browser of any higher-privileged user who views the affected post.
Published: 2026-08-02
Score: 4.6 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Vulnerability is a stored XSS flaw in the Narrative Publisher WordPress plugin. The plugin exposes a REST‑based endpoint that allows users with contributor or higher roles to write directly to a post meta field named 'narrative_post_script' without validation or escaping. Malicious JavaScript stored in this field is then rendered when a higher‑privileged user views the affected post, leading to cross‑site scripting that can compromise the attacker’s session, steal cookies, or execute arbitrary actions in the victim’s browser. The flaw affects only WordPress sites running the plugin version 1.0.7 or older, and requires that an attacker has a role of at least contributor to inject the payload, but the impact is felt by administrators, editors and any privileged user who accesses the post. The weakness is primarily a classic cross‑site scripting vulnerability (CWE‑79).

Affected Systems

WordPress sites that have the Narrative Publisher plugin installed, version 1.0.7 or earlier. The plugin is listed by an unknown vendor; any WordPress installation that includes 'Narrative Publisher' is potentially impacted. No other products are listed as affected. The plugin is typically loaded in the WordPress admin area and integrates with the REST API for post meta handling.

Risk and Exploitability

The exploit path requires an attacker to first acquire contributor or higher privileges on the affected site. From there, they can send a crafted REST request to write arbitrary JavaScript to the 'narrative_post_script' meta field. Once saved, the code is executed automatically whenever any privileged user opens the edited post. The CVSS score of 4.6 indicates moderate severity, while the EPSS score of less than 1% suggests a low probability of real‑world exploitation, and the vulnerability is not currently listed in the CISA KEV catalog. However, because the flaw is a stored XSS that affects higher‑privileged viewers, the potential damage is significant: credential compromise, defacement, or execution of additional malicious actions. The primary attack vector is via the exposed REST endpoint, and the remedy is to apply a patch that validates and escapes the meta value before rendering.

Generated by OpenCVE AI on August 4, 2026 at 22:06 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Narrative Publisher plugin to the latest version (1.0.8 or above).
  • If an upgrade is not possible immediately, locate and delete any 'narrative_post_script' meta entries that contain JavaScript from posts that may be viewed by privileged users.
  • Apply a capability or role restriction that removes the ability for contributors to modify post meta via the REST API, or temporarily disable REST access for that meta field using custom code or a security plugin.

Generated by OpenCVE AI on August 4, 2026 at 22:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 03 Aug 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 4.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 03 Aug 2026 09:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-79

Sun, 02 Aug 2026 06:15:00 +0000

Type Values Removed Values Added
Description The Narrative Publisher WordPress plugin through 1.0.7 does not restrict write access to a REST-exposed post meta field or escape it when rendering, allowing users with contributor-level access and above to store JavaScript that executes in the browser of any higher-privileged user who views the affected post.
Title Narrative Publisher <= 1.0.7 - Contributor+ Stored XSS via narrative_post_script Post Meta
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-08-03T17:44:47.086Z

Reserved: 2026-07-20T09:59:36.531Z

Link: CVE-2026-16273

cve-icon Vulnrichment

Updated: 2026-08-03T17:44:41.709Z

cve-icon NVD

Status : Received

Published: 2026-08-02T06:16:39.787

Modified: 2026-08-03T18:16:37.080

Link: CVE-2026-16273

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T22:15:03Z

Weaknesses
  • CWE-79

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