Automattic / Automattic/jetpack

Contact Form: can submit form multiple times using existing Post data

Open
#12,682 1 comment 0 reactions 0 assignees View on GitHub
[Feature] Forms [Pri] Normal [Status] Stale Bug Customer Report [LEGACY]
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

#### Steps to reproduce the issue

1. Start with a Jetpack site with the contact form module active.
2. Create a new page, and add a form. Publish the page.
3. While logged out, submit a form and capture the data posted on submission.
4. Log back in, edit the page, and mark it as password-protected.
5. Log out. Although you can't access the page anymore, you can still submit forms using the data from the last form you submitted. The `contact-form-hash` attached to each submission can be re-used.

Original report: 602506-h1

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the password-protected contact form scenario and trace where the contact-form-hash is accepted during submission. Done means previously captured submission data and its hash can no longer submit a form after the page becomes password-protected; no specific source file or test is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend, security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.