Skip to main content
CVE-2024-6307VulnerabilityPublished Updated

WordPress Core is vulnerable to Stored Cross-Site Scripting via the HTML API in various versions prior to 6.5.5 due to insufficient input sanitization and output escaping on URLs

Affects wordpressSource GCVE Database

0
Compare
Authoritative record:CVE-2024-6307· Medium 6.4

Not known to be exploited · CVSS 6.4 Medium.

Data as of 24 Nov 2026, 19:25 UTC

CVSS 3.1 base score
6.4Medium
How severe the flaw is on the 0–10 CVSS scale.
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 25 Jun 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSwordpresspkg:deb/ubuntu/wordpress?arch=source&distro=nobleOther threatsAffected
  • =6.2+dfsg1-1ubuntu1
  • =6.4.3+dfsg1-1ubuntu1
Fixed in–
Ubuntu 22.04 LTSwordpresspkg:deb/ubuntu/wordpress?arch=source&distro=jammyOther threatsAffected
  • 5.7.1+dfsg1-2ubuntu1 – 5.8.3+dfsg1-1ubuntu1.1
5 affected builds
Fixed in–
Ubuntu 20.04 LTSwordpresspkg:deb/ubuntu/wordpress?arch=source&distro=focalOther threatsAffected
  • 5.2.2+dfsg1-1 – 5.3.2+dfsg1-1ubuntu1
4 affected builds
Fixed in–
Ubuntu 18.04 LTSwordpresspkg:deb/ubuntu/wordpress?arch=source&distro=bionicOther threatsAffected
  • 4.8.2+dfsg-2 – 4.9.5+dfsg1-1
6 affected builds
Fixed in–
Ubuntu 16.04 LTSwordpresspkg:deb/ubuntu/wordpress?arch=source&distro=xenialOther threatsAffected
  • 4.3.1+dfsg-1 – 4.4+dfsg-1
6 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

WordPress Core is vulnerable to Stored Cross-Site Scripting via the HTML API in various versions prior to 6.5.5 due to insufficient input sanitization and output escaping on URLs. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

References

Community reviews

Loading reviews…