Live threats

All CVEs / Rocklobster

CVE-2021-24159Rocklobster Contact Form 7

High 8.8 No auth needed

Priority
68
CVSS 3.1
8.8
EPSS
0.6%
probability of exploitation in 30 days · percentile 50
Auth required
No
Published
Apr 5, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-352
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Contact Form 7.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
rocklobstercontact_form_7≤ 3.1.9

Official sources

References

Links published by the sources. Open them with care.