ADVISORIES

Drupal Security Advisory

DRUPAL-CONTRIB-2026-023

Details

This module extends the Drupal form API adding "Calculation element" form element types, which can evaluate a maths expression. It offers webform integration.

The module doesn't sufficiently validate user input; this could be exploited to achieve Information Disclosure or Cross-site Scripting (XSS).

Affected packages

EcosystemPackageAffected versions
Packagist:https://packages.drupal.org/8drupal/calculation_fields
All versions before 1.0.4 (fixed in 1.0.4)

References