CVE-2021-24159
Last modified
CVE-2021-24159 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. Due to the lack of sanitization and lack of nonce protection on the custom CSS feature, an attacker could craft a request to inject malicious JavaScript on a site using the Contact Form 7 Style WordPress plugin through 3.1.9. If an attacker successfully tricked a site’s administrator into clicking a link or attachment, then the request could be sent and the CSS settings would be successfully updated to include malicious JavaScript.. EPSS estimates a 0.59% chance of exploitation in the next 30 days.
Description
Due to the lack of sanitization and lack of nonce protection on the custom CSS feature, an attacker could craft a request to inject malicious JavaScript on a site using the Contact Form 7 Style WordPress plugin through 3.1.9. If an attacker successfully tricked a site’s administrator into clicking a link or attachment, then the request could be sent and the CSS settings would be successfully updated to include malicious JavaScript.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Rocklobster | Contact Form 7 | <= 3.1.9 |
References
- https://wpscan.com/vulnerability/363182f1-9fda-4363-8f6a-be37c4c07aa9Third Party Advisory
- https://wpscan.com/vulnerability/363182f1-9fda-4363-8f6a-be37c4c07aa9Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-24159?
How severe is CVE-2021-24159?
How do I fix CVE-2021-24159?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2021
- CVE-2021-24153A Stored Cross-Site Scripting vulnerability was discovered i…5.4
- CVE-2021-24154The Theme Editor WordPress plugin before 2.6 did not validat…4.9
- CVE-2021-24155The WordPress Backup and Migrate Plugin – Backup Guard WordP…7.2
- CVE-2021-24156Stored Cross-Site Scripting vulnerabilities in Testimonial R…5.4
- CVE-2021-24157Orbit Fox by ThemeIsle has a feature to add custom scripts t…5.4
- CVE-2021-24158Orbit Fox by ThemeIsle has a feature to add a registration f…6.5
- CVE-2021-2416Vulnerability in the Oracle Communications Session Border Co…4.9
- CVE-2021-24160In the Reponsive Menu (free and Pro) WordPress plugins befor…8.8
- CVE-2021-24161In the Reponsive Menu (free and Pro) WordPress plugins befor…8.8
- CVE-2021-24162In the Reponsive Menu (free and Pro) WordPress plugins befor…8.8
- CVE-2021-24163The AJAX action, wp_ajax_ninja_forms_sendwp_remote_install_h…8.8
- CVE-2021-24164In the Ninja Forms Contact Form WordPress plugin before 3.4.…4.3
Are you affected by CVE-2021-24159?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
