Low

Umbraco.Forms CDN may cache sensitive form uploads when processed by ImageSharp

  • Disclosed: 22.01.2026
  • Updated: 11.10.2026 11:23

Impact

Protected files uploaded through Umbraco Forms may be served to unauthenticated users when a CDN or caching layer is present and ImageSharp processes the request. ImageSharp sets aggressive cache headers by default, which can cause intermediary caches to store and serve files that should require authentication.

Patches

This issue affects all (supported) versions Umbraco Forms and is patched in 13.9.0, 16.4.0 and 17.1.0.

Workarounds

Add middleware to set cache headers for form uploads. Place the following code in your Startup.cs or Program.cs after app.UseStaticFiles() and any image processing middleware:

cs
app.Use(async (context, next) =>
{
    var path = context.Request.Path.Value;

    if (!string.IsNullOrEmpty(path) && path.StartsWith("/media/forms/upload/", StringComparison.OrdinalIgnoreCase))
    {
        context.Response.OnStarting(() =>
        {
            context.Response.Headers["Cache-Control"] = "private, no-store, no-cache, must-revalidate";
            context.Response.Headers["Pragma"] = "no-cache";
            context.Response.Headers["Expires"] = "0";
            return Task.CompletedTask;
        });
    }

    await next();
});

Alternatively, configure your CDN to bypass caching for URLs matching /media/forms/upload/*.

Note: The vulnerability requires:

  • A CDN in front of the website
  • An authenticated user having previously requested the image
  • Knowledge of the form GUID, entry GUID, and image filename

If no CDN is in use, this vulnerability does not apply.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
.NET (NuGet) Umbraco.Forms < 13.9.0, >= 14.0.0-beta001, < 16.4.0, >= 17.0.0-rc1, < 17.1.0 13.9.0, 16.4.0, 17.1.0

References

CVSS score 3.1/10
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
Weakness (CWE)
CWE-524
Platform
.NET (NuGet)
Package
Umbraco.Forms
Disclosed
22.01.2026
Updated
11.10.2026 11:23

Sources and licenses

OSV / GitHub Advisory Database - GHSA-7jxj-rpx7-ph2c - CC BY 4.0

Vulnerability history: Umbraco.Forms

All published vulnerabilities of this package (.NET (NuGet)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
5
First → latest
05.2024 01.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Medium 2
  • Low 3

Disclosures per year

  1. 2024: 1
  2. 2025: 2
  3. 2026: 2
  1. Medium CVE-2026-24687 >= 16.0.0, < 16.4.1, >= 17.0.0, < 17.1.1 16.4.1, 17.1.1
  2. Umbraco.Forms CDN may cache sensitive form uploads when processed by ImageSharp this entry
    Low · 3.1 ghsa-7jxj-rpx7-ph2c < 13.9.0, >= 14.0.0-beta001, < 16.4.0, >= 17.0.0-rc1, < 17.1.0 13.9.0, 16.4.0, 17.1.0
  3. Low · 0.0 CVE-2025-47280 >= 7.0.0, < 13.4.2, >= 14.0.0, < 15.1.2 13.4.2, 15.1.2
  4. Medium · 5.8 CVE-2025-23041 < 10.5.7, >= 11.0.0-rc1, < 13.2.2, >= 14.0.0-beta001, < 14.1.2 10.5.7, 13.2.2, 14.1.2
  5. Low · 2.7 CVE-2024-35239 >= 13.0.0, < 13.0.1, >= 12.0.0, < 12.2.2, >= 10.0.0, < 10.5.3, >= 8.0.0, < 8.13.13 13.0.1, 12.2.2, 10.5.3, 8.13.13

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.