GitHub Advisoryadvisory · NuGet

GHSA-2qrj-g9hq-chph Umbraco.Forms has HTML injection vulnerability in 'Send email' workflow

LOW Published 2025-05-13 Modified 2025-05-13 Official page ↗
Aliases
CVE-2025-47280
Ecosystem
NuGet
Packages
Umbraco.Forms, UmbracoForms
Severity
Low
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:N
Weaknesses
CWE-116
Reviewed
2025-05-13

Affected packages

• NuGet Umbraco.Forms: >= 7.0.0, < 13.4.2 → fixed in 13.4.2 • NuGet UmbracoForms: >= 7.0.0, <= 8.13.16 (no fix yet) • NuGet Umbraco.Forms: >= 14.0.0, < 15.1.2 → fixed in 15.1.2

Description

Impact The 'Send email' workflow does not HTML encode the user-provided field values in the sent email message, making any form with this workflow configured vulnerable, as it allows sending the message from a trusted system and address (potentially bypassing spam and email client security systems). Patches This issue affects all (supported) versions Umbraco Forms and is patched in 13.4.2 and 15.1.2. Workarounds Unpatched or unsupported versions can workaround this issue by using the 'Send email with template (Razor)' workflow instead or writing a custom workflow type. To avoid accidentally using the vulnerable workflow again, the `SendEmail` workflow type can be removed using the following composer (tested on Umbraco 10, 13, 14 and 15): ```c# using Umbraco.Cms.Core.Composing; using Umbraco.Forms.Core.Providers.Extensions; using Umbraco.Forms.Core.Providers.WorkflowTypes; internal sealed class RemoveFormsSendEmailWorkflowTypeComposer : IComposer { public void Compose(IUmbracoBuilder builder) => builder.FormsWorkflows().Exclude(); } ```

Related

Alias · CVE (1)

  • CVE-2025-47280 Umbraco Forms is a form builder that integrates with the Umbraco content management system. vulnerability

Weakness · CWE (1)

  • CWE-116 Improper Encoding or Escaping of Output weakness

References