CVE-2019-9845
CRITICAL 9.8CVSS 3.0MadsKristensen.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.
- Published
- 16 Apr 2019
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-958r-g534-ccmr
- Sources
- NVDJSONOSV GHSA-958r-g534-ccmrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | miniblog.core_project | miniblog.corecpe:2.3:a:miniblog.core_project:miniblog.core:*:*:*:*:*:*:*:* |
<= 2019-01-16 | |
| OSV | NuGet | MadsKristensen.AspNetCore.Miniblog | <= 1.0.3 |
References
- https://github.com/madskristensen/Miniblog.Core/blob/master/src/Controllers/BlogController.cs#L142 · Third Party Advisory, WEB
- https://rastating.github.io/miniblog-remote-code-execution/ · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2019-9845 · ADVISORY
- https://github.com/advisories/GHSA-958r-g534-ccmr · ADVISORY
- https://github.com/madskristensen/Miniblog.Core · PACKAGE
History
- 25 Nov 2026 20:22 UTC · NVD: first stored (published 16 Apr 2019)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 5 Jul 2019)