CVE-2021-24387 Real Estate 7 < 3.1.1 - Reflected Cross-Site Scripting (XSS)
Attackers can inject malicious scripts via the ct_community parameter in the search listing page, affecting both authenticated and unauthenticated users.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-24387?
CVE-2021-24387 is a medium-severity cross-site scripting vulnerability in Contempoinc WP Pro Real Estate 7, published on 6 Jul 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The WP Pro Real Estate 7 WordPress theme before 3.1.1 did not properly sanitise the ct_community parameter in its search listing page before outputting it back in it, leading to a reflected Cross-Site Scripting which can be triggered in both unauthenticated or authenticated user context
Weakness: CWE-79
Which versions are affected by CVE-2021-24387?
It affects 1 product.
Products include Contempothemes Real Estate 7.
How do I fix CVE-2021-24387?
No fix has been published for CVE-2021-24387 yet. Limit exposure of the affected software until one is available.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2021-24387 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-24387 exists.
Public exploit code: 1 Nuclei template.
Other vulnerabilities in Contempoinc WP Pro Real Estate 7
Sources
Also known as GHSA-4hqq-j7p9-x52j.