Description
WordPress before 5.2.3 allows XSS in post previews by authenticated users.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | wordpress | 5.2.3+dfsg1-1 | — |
| Debian 13 | wordpress | 5.2.3+dfsg1-1 | — |
| Debian 12 | wordpress | 5.2.3+dfsg1-1 | — |
| Debian 10 | wordpress | 5.0.4+dfsg1-1+deb10u1 | DSA-4599-1 |
| Debian 8 | wordpress | 4.1.27+dfsg-0+deb8u1 | DLA-1960-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | wordpress | No fix yet | — |
| Ubuntu 26.04 LTS | wordpress | No fix yet | — |
| Ubuntu 25.10 | wordpress | No fix yet | — |
| Ubuntu 24.04 LTS | wordpress | No fix yet | — |
| Ubuntu 22.04 LTS | wordpress | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | wordpress | No fix yet | — |
| Ubuntu 18.04 LTS | wordpress | No fix yet | — |
| Ubuntu 16.04 LTS | wordpress | No fix yet | — |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- Wordpress Core 5.2.2 - 'post previews' XSS EDB-49338 · webapps · Jan 4, 2021
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 2
- DSA-4599-1 wordpress - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-1960-1 wordpress - security update Debian Security (DSA / DLA) · Mar 9, 2026
References
- https://wpvulndb.com/vulnerabilities/9862
- https://wordpress.org/news/2019/09/wordpress-5-2-3-security-and-maintenance-release/
- [debian-lts-announce] 20191017 [SECURITY] [DLA 1960-1] wordpress security update mailing-list
- 20200108 [SECURITY] [DSA 4599-1] wordpress security update mailing-list
- DSA-4599 vendor-advisory
- DSA-4677 vendor-advisory
- http://packetstormsecurity.com/files/160745/WordPress-Core-5.2.2-Cross-Site-Scripting.html