# CVE-2026-40305: DNN: Force Friend Request Acceptance

Source: https://junglewise.ai/threats/cve-2026-40305-dnn-force-friend-request-acceptance  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-17. Updated: 2026-05-11  
License: CC BY 4.0 with a link back

CVE-2026-40305 · Severity: medium · CVSS 4.3 · Published 2026-04-17

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.

Technologies: [Dnnsoftware Dotnetnuke](https://junglewise.ai/threats/technologies/dotnetnuke), [DotNetNuke.Core (NuGet)](https://junglewise.ai/threats/technologies/dotnetnuke-core). Vendors: [Dnnsoftware](https://junglewise.ai/threats/vendors/dnnsoftware), [NuGet](https://junglewise.ai/threats/vendors/nuget).

## Quick answers

**Is CVE-2026-40305 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-40305 being exploited in the wild.

**How severe is CVE-2026-40305?** Medium severity, with a CVSS score of 4.3, published 17 April 2026.

**Which products and versions are affected?** DotNetNuke.Core (NuGet) >= 6.0.0, < 10.2.2, ECOSYSTEM:introduced=6.0.0,fixed=10.2.2.

**Is there a fix for CVE-2026-40305?** Yes. DotNetNuke.Core (NuGet): upgrade to 10.2.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2026-40305?** Check whether you run Dnnsoftware Dotnetnuke or DotNetNuke.Core (NuGet) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- DotNetNuke.Core (NuGet): upgrade to 10.2.2 or later

  ```sh
  dotnet add package DotNetNuke.Core --version 10.2.2
  ```


## Affected products

- Dnnsoftware Dotnetnuke
- DotNetNuke.Core (NuGet) >= 6.0.0, < 10.2.2, ECOSYSTEM:introduced=6.0.0,fixed=10.2.2

## Identifiers

- CVE-2026-40305
- GHSA-fpj4-9qhx-5m6m

## References

- [https://api.github.com/users/JesseClarkTT](https://api.github.com/users/JesseClarkTT)
- [https://github.com/JesseClarkTT](https://github.com/JesseClarkTT)
- [https://api.github.com/users/JesseClarkTT/gists%7B/gist_id%7D](https://api.github.com/users/JesseClarkTT/gists%7B/gist_id%7D)
- [https://api.github.com/users/JesseClarkTT/repos](https://api.github.com/users/JesseClarkTT/repos)
- [https://avatars.githubusercontent.com/u/212729077?v=4](https://avatars.githubusercontent.com/u/212729077?v=4)
- [https://api.github.com/users/JesseClarkTT/events%7B/privacy%7D](https://api.github.com/users/JesseClarkTT/events%7B/privacy%7D)

## Related threats

- [DotNetNuke.Core has stored cross-site-scripting (XSS) via SVG upload](https://junglewise.ai/threats/cve-2026-40321-dotnetnuke-core-has-stored-cross-site-scripting-xss-via-svg)
- [DNN: Same HostGUID for all new installs](https://junglewise.ai/threats/cve-2026-40306-dnn-same-hostguid-for-all-new-installs)
- [DNN DotNetNuke.Core insecure XML processing and weak cryptography](https://junglewise.ai/threats/dnn-dotnetnuke-core-insecure-xml-processing-and-weak-cryptography-fd6489d4)
- [DotNetNuke.Core Vulnerable to Stored XSS via Module Title](https://junglewise.ai/threats/cve-2026-24838-dotnetnuke-core-vulnerable-to-stored-xss-via-module-title)
- [DotNetNuke.Core Vulnerable to Stored XSS in Module Deletion Confirmation Modal](https://junglewise.ai/threats/cve-2026-24837-dotnetnuke-core-vulnerable-to-stored-xss-in-module-deletion)
