# CVE-2021-24482: Related Posts for WordPress <= 2.0.4 - Authenticated Stored XSS & XFS

- Severity: Medium 4.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.69%, higher than 53% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-07-19T10:53:19.000Z
- Modified: 2026-06-17T03:40:06.520Z
- Weaknesses: CWE-79
- Assigned by: WPScan

## Description

The Related Posts for WordPress plugin through 2.0.4 does not sanitise its heading_text and CSS settings, allowing high privilege users (admin) to set XSS payloads in them, leading to Stored Cross-Site Scripting issues.

(As written by CVE List.)

## Affected

- Unknown Related Posts for WordPress: from 2.0.4 up to 2.0.4
- never5 related_posts: up to 2.0.4

## Every score

- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://wpscan.com/vulnerability/2f86e418-22fd-4cb8-8de1-062b17cf20a7> (exploit, third-party-advisory)
- <https://m0ze.ru/vulnerability/%5B2021-04-18%5D-%5BWordPress%5D-%5BCWE-79%5D-Related-Posts-for-WordPress-WordPress-Plugin-v2.0.4.txt>

## Sources

- CVE List: [CVE-2021-24482](https://www.cve.org/CVERecord?id=CVE-2021-24482), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-24482](https://nvd.nist.gov/vuln/detail/CVE-2021-24482), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-24482 · Whole record: https://cve.day/CVE-2021-24482.json · Rebuilt by cve.day 2026-11-25T22:58:02.722Z
