Radar sectionsDatabase
Check my site
WordPress wordpress core

WordPress Core < 5.3.1 — Authenticated Stored Cross-Site Scripting

CVE-2019-16781Published · Updated

Action summary

Affected: ≤5.2.4Update to 3.7.32 or 3.8.32 or 3.9.30 or 4.0.29 or 4.1.29 or 4.2.26 or 4.3.22 or 4.4.21 or 4.5.20 or 4.6.17 or 4.7.16 or 4.8.12 or 4.9.13 or 5.0.8 or 5.1.4 or 5.2.5 or 5.3.1 or newer

Fixed versions are per release branch: update to the fix for the branch you run.

All remediation steps
Medium5.8CVSS 3.15.8CISA KEVNot listedAccessUnknown

Overview

Advisory ID
CVE-2019-16781
Product
WordPress wordpress
Affected
≤5.2.4
Fixed in
3.7.32, 3.8.32, 3.9.30, 4.0.29, 4.1.29, 4.2.26, 4.3.22, 4.4.21, 4.5.20, 4.6.17, 4.7.16, 4.8.12, 4.9.13, 5.0.8, 5.1.4, 5.2.5, 5.3.1
Required access
Unknown
Published
· updated
Credit
Nguyen Van Khanh
  1. Affected≤ 5.2.4
  2. Patched in3.7.32 / 3.8.32 / 3.9.30 / 4.0.29 / 4.1.29 / 4.2.26 / 4.3.22 / 4.4.21 / 4.5.20 / 4.6.17 / 4.7.16 / 4.8.12 / 4.9.13 / 5.0.8 / 5.1.4 / 5.2.5 / 5.3.1

Update to 3.7.32 / 3.8.32 / 3.9.30 / 4.0.29 / 4.1.29 / 4.2.26 / 4.3.22 / 4.4.21 / 4.5.20 / 4.6.17 / 4.7.16 / 4.8.12 / 4.9.13 / 5.0.8 / 5.1.4 / 5.2.5 / 5.3.1 or newer.

5.8
CVSS 3.1 · CNA (Wordfence)
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:N/A:N
What does this vector mean?
AV:N Attack vector
Network
AC:H Attack complexity
High
PR:L Privileges required
Low
UI:R User interaction
Required
S:C Scope
Changed
C:H Confidentiality
High
I:N Integrity
None
A:N Availability
None

In WordPress before 5.3.1, authenticated users with lower privileges (like contributors) can inject JavaScript code in the block editor, which is executed within the dashboard. It can lead to an admin opening the affected post in the editor leading to XSS.

Not sure which version you run? Run a passive check — it reads public files only.

Remediation & mitigations

  1. Update to one of the following versions, or a newer patched version: 3.7.32, 3.8.32, 3.9.30, 4.0.29, 4.1.29, 4.2.26, 4.3.22, 4.4.21, 4.5.20, 4.6.17, 4.7.16, 4.8.12, 4.9.13, 5.0.8, 5.1.4, 5.2.5, 5.3.1
  2. Rotate administrator passwords and application secrets if the site ran a vulnerable version while publicly reachable.

References & provenance

Proof-of-concept & detection

No public proof-of-concept or detection template is known for this vulnerability.

Advisories & patches

Related CVEs

Other Cross-Site Scripting vulnerabilities
SeverityVulnerabilityCVEPublished
Medium6.4Authenticated (Contributor+) DOM-Based Stored Cross-Site Scripting via 'data-text-sec', 'data-title', and 'title' Attributes via Custom HTML Block
Flatsome≤3.20.12Update to 3.20.13
CVE-2026-18742
High7.1Unauthenticated PHP Object Injection to Arbitrary File Deletion via 'comment_content'/'comment_agent' Parameter during Attachment RenameCVE-2026-124969
Critical9.8Missing Authorization to Unauthenticated Arbitrary User Password Reset / Account Takeover via Webhook with 'Is the user ID' Field
AutomatorWP Webhooks≤1.4.4Update to 1.4.5
CVE-2026-126173
High7.2Unauthenticated Stored Cross-Site Scripting via Comment User-Agent HeaderCVE-2026-120688

Timeline

  1. CVE published

    Severity medium, CVSS 5.8

  2. Record last updated

Sources & licenses

Wordfence record
Vulnerability data
Wordfence Intelligence. Copyright 2012-2026 Defiant Inc. Licensed under the CC BY-SA 4.0.
CVE® identifiers
Copyright 1999-2026 The MITRE Corporation. Used under the CVE Program. CVE® is a registered trademark of The MITRE Corporation.
CVSS / CWE
National Vulnerability Database (NVD), shown unmodified. This product uses the NVD API but is not endorsed or certified by the NVD.
VulnCrest content
Summary, remediation guidance and page layout © VulnCrest. Not sourced from NVD.

How we use these sources

Search VulnCrest Radar

Are you sure?