custom CSS feature, an attacker could craft a request to inject malicious JavaScript on a site using the Contact Form 7 Style: A security weakness
custom CSS feature, an attacker could craft a request to inject malicious JavaScript on a site using the Contact Form 7 Style is affected by a security weakness. Exposure depends on how the affected operation is made reachable by the site. The resulting impact depends on how the affected component exposes the vulnerable operation.
- Component
- custom CSS feature, an attacker could craft a request to inject malicious JavaScript on a site using the Contact Form 7 Style
- Plugin slug
contact-form-7- Affected
- See vendor advisory
- Safe version
- See mitigation notes
- Published
- Apr 05, 2021
This CVE was published Apr 05, 2021 and is one of 11 known issues for this plugin.
Update, patch or deactivate.
Update custom CSS feature, an attacker could craft a request to inject malicious JavaScript on a site using the Contact Form 7 Style to a release outside the affected range, or disable and remove it until a fixed version is available.
No confirmed safe version is listed. Consider a vendor-supported patch or temporarily restricting the affected functionality while you assess the risk.
Deactivate only when warranted by your risk profile, or when advised by your hosting provider in the limited circumstances where the vulnerability cannot otherwise be mitigated. If you’re unsure which action is appropriate, contact Fused or your hosting provider for guidance.
Technical 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.
NVD vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H