SecurityContext

CVE-2021-24482: WordPress Plugin - Stored XSS

  • Cve: CVE-2021-24482
  • Name: WordPress Plugin - Stored XSS
  • 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.
  • Impact: Attackers can execute arbitrary scripts in the context of the affected site, leading to session hijacking or defacement.
  • Remediation: Update to the latest version of the plugin where the issue is fixed.
  • Vulnerability type: stored_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: admin_privileges
  • Requirements: Attacker needs admin privileges
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.00687
  • Epss percentile: 0.53637
  • Assignee: [email protected]
  • Published at: 2021-07-19T11:15:08Z
  • Age in days: 1954
  • Modified at: 2026-06-17T03:40:06Z
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-24482
  • Nvd status: modified
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Public exploits

UrlSourceAdded date
https://wpscan.com/vulnerability/2f86e418-22fd-4cb8-8de1-062b17cf20a7nvd2021-07-19

References

UrlSourceTags
https://wpscan.com/vulnerability/2f86e418-22fd-4cb8-8de1-062b17cf20a7nvdExploit, 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.txtnvd

Products

ProductAffectedPlatform boundSourcesUrl
never5:related_posts<= 2.0.4nonvd/v1/products/never5/related_posts

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-07-19
  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts