The security announcement for the form module only covers two version ranges, should the site be upgraded first or disable the submission function first?
In the Drupal community, a security announcement for a Webform module writes the affected version as two intervals: below a certain sub-version, and within a certain range in the new main branch; the fixed version is 6.2.12 and 6.3.1. Whether the site should upgrade first or disable the submission function depends on which branch you take and whether the upgrade can be completed immediately.
Two interval descriptions are for parallel maintenance of branches
The scope of influence of the announcement is written as 'below 6.2.12' and 'not less than 6.3.0 and less than 6.3.1', and the corresponding fixed version is 6.2.12 and 6.3.1. The two parallel ones mean that the same module is supported on both branches, and the site on any branch has the corresponding target version.
Therefore, the judgment sequence is three steps: read the accurate version of the current module; confirm which branch it belongs to; upgrade according to the fixed version given by the branch. Choosing the fixed version across branches will bring additional change surface, which is not the priority option in emergencies.
| Situation | Version location | Suggested action |
|---|---|---|
| There is a fixed version available to upgrade in the affected branch | Below the fixed version of the branch | Upgrade directly to the corresponding fixed version |
| Upgrade requires waiting for dependency verification | Within the affected range | Narrow the entry point for external submission first, then schedule the upgrade |
| Not in any affected range | Outside the range | Record the verification result, no additional action required |
| Branch support has been stopped | Old branch | Prioritize planning for migration rather than patching individually |
The problem is with template replacement, not field validation
The reason for the announcement description is that the specific format template was not excluded from token replacement, and the risk level was rated severe. The triggering path of this kind of problem does not go through form field validation, but instead, the replacement that should not have been executed was performed when the content was assembled. Therefore, adjusting field rules and adding validation cannot touch it.
The content layer protection that already exists on the site does not overlap here: it handles the expression form of submitted content for SQL injection and XSS filtering, sensitive word filtering, and content review processing, but is not responsible for the boundary of template replacement. Taking 'We have filtered the submitted content' as a mitigation measure is the most common misreading of such announcements.
Upgrade first or turn off submission first
The order is determined by two factors: the actual time taken to upgrade, and the extent to which this form is exposed on the site.
The upgrade can be completed within a maintenance window, directly upgraded and retain the rollback backup, which is the most cost-effective path. If the upgrade involves dependency changes and requires a testing process, narrow the entry first: temporarily take down the submitted forms to the public or change them to only accept submissions from logged-in users, while recording which pages are affected and what the recovery conditions are. This step requires written records, otherwise it is easy to miss when recovering business.
The post-action that cannot be omitted for both paths is: After the upgrade is completed, check whether the module version number is consistent with the announced fixed version, and then verify the submission process and the page rendered by the template again. It is meaningless to only look at the overall system version number, as module-level repairs often do not change the main program version.
Common questions
Question: The rating is serious, but the exploitation conditions are written as theoretically possible, can we wait a while?Answer: Whether to wait or not depends on whether the entrance is open to the outside. During the period when the risk has not been eliminated, the entry should be narrowed at least for the forms that can be submitted to the outside, rather than arranging shifts according to the rating.
Question: Is it enough to just turn off a certain form page?Answer: Check if there is still an interface path in the submission. It is very common for the page to be closed but the interface can still be called, and it should be confirmed one by one according to the entry point.
Question: Does upgrading to the new main branch count as completion of the handling?Answer: Only when it falls to the repair version specified in the announcement is it considered complete. Cross-branch upgrades may introduce other changes, and priority should be given to the repair version of the current branch during the emergency stage.