Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/randomrobbiebf/cve-2024-2242

Contact Form 7 <= 5.9 - Reflected Cross-Site Scripting
https://github.com/randomrobbiebf/cve-2024-2242

Last synced: about 1 month ago
JSON representation

Contact Form 7 <= 5.9 - Reflected Cross-Site Scripting

Awesome Lists containing this project

README

        

# CVE-2024-2242
Contact Form 7 <= 5.9 - Reflected Cross-Site Scripting

# Description

The Contact Form 7 plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the ‘active-tab’ parameter in all versions up to, and including, 5.9 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

```
CVSS: 6.1
Impact: 2.7
Vector: network
User Interaction: required
Privileges Required: none
Published: 2024-03-13
Updated: 2024-03-13
```

POC
---

You need to know the post id value the form is on otherwise when the admin clicks the link it won't work.
Overall this should have priviliages required as H as you need admin to click the link.

```









history.pushState('', '', '/');
document.forms[0].submit();

```