baserCMS Mail API Form Submission Bypass Vulnerability

Vulnerability

A vulnerability in baserCMS versions prior to 5.2.3 allows unauthenticated users to bypass mail form acceptance controls through a public API. This issue enables unauthorized submissions via the Mail API, even when forms are not accepting entries, potentially leading to spam or abuse. The vulnerability arises because the API endpoint does not check the form's acceptance status, a control that is enforced in the user interface.

Impact

Exploitation of this vulnerability allows for unauthorized mail submissions through the Mail API, bypassing administrative controls and potentially leading to spam or abuse.

Reproduction

To reproduce this vulnerability, first ensure that a mail form is configured to reject submissions. Then, obtain a CSRF cookie and token pair by accessing the site root. With this token, send a POST request to the Mail API's 'add' endpoint, including the necessary form data. The server will respond with a '200 OK' status, indicating that the mail message was successfully created, despite the form being closed.

Remediation

Users are advised to update baserCMS to version 5.2.3 or later.

Added: Mar 31, 2026, 1:22 AM
Updated: Mar 31, 2026, 1:22 AM

Vulnerability Rating

Custom Algorithm
spread
3.4
impact
0.6
exploitability
6.8
remediation
7.7
relevance
5.0
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.