MadsKristensen.AspNetCore.Miniblog subject to Improper Input Validation
madskristensen Miniblog.Core through 2019-01-16 allows remote attackers to execute arbitrary ASPX code via an IMG element with a data: URL, because SaveFilesToDisk in Controllers/BlogController.cs writes a decoded base64 string to a file without validating the extension.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| .NET (NuGet) | MadsKristensen.AspNetCore.Miniblog | <= 1.0.3 | no fix |
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-9845
- https://github.com/advisories/GHSA-958r-g534-ccmr
- https://github.com/madskristensen/Miniblog.Core
- https://github.com/madskristensen/Miniblog.Core/blob/master/src/Controllers/BlogController.cs#L142
- https://rastating.github.io/miniblog-remote-code-execution
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-20- Platform
- .NET (NuGet)
- Package
MadsKristensen.AspNetCore.Miniblog- Disclosed
- 05.07.2019
- Updated
- 11.10.2026 11:23
Sources and licenses
OSV / GitHub Advisory Database - GHSA-958r-g534-ccmr - CC BY 4.0
Vulnerability history: MadsKristensen.AspNetCore.Miniblog
All published vulnerabilities of this package (.NET (NuGet)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
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.