CVE-2024-2108 MEDIUM

CVE-2024-2108: Ninja Forms Contact Form – The Drag and Drop Form Builder for WordPress <= 3.8.0 - Authenticated (Author+) Stored Cross-Site Scripting

Vendor Kstover
Product Ninja Forms – The Contact Form Builder That Grows With You
Weakness CWE-79 · XSS
Published March 29, 2024
Last update April 8, 2026

CVSS base score

4.6/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

What the vulnerability does

01Description

The Ninja Forms Contact Form – The Drag and Drop Form Builder for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via an image title embedded into a form in all versions up to, and including, 3.8.0 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Explanation of Vulnerability in Simple Terms

02Summary

Ninja Forms versions 3.8.0 and earlier contain a cross-site scripting (XSS) vulnerability that allows authenticated users to inject malicious scripts. An attacker with low-level access can craft a request that causes the injected code to execute in other users' browsers when they interact with the form. This affects form data integrity and user sessions.

What an attacker can do

03Attacker Capabilities

Inject malicious JavaScript that runs in other users' browsers when they view or interact with forms.

Potential impact on your site

04Site Impact

Authenticated users can inject scripts affecting other site visitors, potentially stealing session tokens or modifying form submissions.

Conditions required to exploit

05Prerequisites

Attacker must have a low-privilege account on the site; victim must view the affected form or page.

Key dates

06Disclosure timeline

March 29, 2024 CVE published
April 8, 2026 Record updated

Related vulnerabilities

08Related CVE