Name | CVE-2024-6307 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1074486 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
wordpress (PTS) | jessie, jessie (lts) | 4.1.35+dfsg-0+deb8u1 | vulnerable |
| stretch (security), stretch (lts), stretch | 4.7.23+dfsg-0+deb9u1 | vulnerable |
| buster (security), buster, buster (lts) | 5.0.21+dfsg1-0+deb10u1 | vulnerable |
| bullseye (security), bullseye | 5.7.11+dfsg1-0+deb11u1 | fixed |
| bookworm (security), bookworm | 6.1.6+dfsg1-0+deb12u1 | vulnerable |
| sid, trixie | 6.6.1+dfsg1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
wordpress | source | jessie | (unfixed) | end-of-life | | |
wordpress | source | stretch | (unfixed) | end-of-life | | |
wordpress | source | buster | (unfixed) | end-of-life | | |
wordpress | source | bullseye | (not affected) | | | |
wordpress | source | (unstable) | 6.5.5+dfsg1-1 | | | 1074486 |
Notes
[bullseye] - wordpress <not-affected> (The vulnerable code was introduced later)
https://wordpress.org/news/2024/06/wordpress-6-5-5/
https://core.trac.wordpress.org/changeset/58473
https://core.trac.wordpress.org/changeset/58472