CVE-2026-40305 DNN has Force Friend Request Acceptance

Medium 4.3 Published Updated
Exploited in the wild
Not known
Fix
Available

What is CVE-2026-40305?

CVE-2026-40305 is a medium-severity vulnerability in Dnnsoftware Dotnetnuke, published on 17 Apr 2026.

Official description

DNN (formerly DotNetNuke) is an open-source web content management platform (CMS) in the Microsoft ecosystem. Starting in version 6.0.0 and prior to version 10.2.2, in the friends feature, a user could craft a request that would force the acceptance of a friend request on another user. Version 10.2.2 patches the issue.

Weakness: CWE-285

Which versions are affected by CVE-2026-40305?

2 open source packages ship an affected version, including DotNetNuke.Core. It affects 1 product.

PackageAffectedFixed in
DotNetNuke.Core NuGetFrom 6.0.010.2.2
DotNetNuke.Core NuGetFrom 6.0.010.2.2

Products include Dnnsoftware Dotnetnuke.

How do I fix CVE-2026-40305?

Upgrade DotNetNuke.Core to 10.2.2 or later.

Is CVE-2026-40305 being exploited?

There is no known exploitation of CVE-2026-40305 in the wild and no public exploit code.

All Dnnsoftware Dotnetnuke vulnerabilities

Sources

Also known as GHSA-fpj4-9qhx-5m6m.

Is CVE-2026-40305 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free