CVE-2019-9845 — Vulnerability in...
CRITICAL
MadsKristensen.AspNetCore.Miniblog subject to Improper Input Validation
Published July 5, 2019Updated February 19, 2024Source: osv
Summary
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.
Advisory Timeline
- First published July 5, 2019 (2656 days ago).
- Last revised February 19, 2024 — 1689 days after initial publication.
Affected Packages (1)
Affects 1 ecosystem: nuget (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| MadsKristensen.AspNetCore.Miniblog | nuget | 1.0.0, 1.0.1, 1.0.2, 1.0.3 | Range-based data available |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-20Improper Input ValidationMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2019-9845ADVISORY
- https://github.com/advisories/GHSA-958r-g534-ccmrADVISORY
- https://github.com/madskristensen/Miniblog.CorePACKAGE
- https://github.com/madskristensen/Miniblog.Core/blob/master/src/Controllers/BlogController.cs#L142WEB
- https://rastating.github.io/miniblog-remote-code-executionWEB
Frequently Asked Questions
- What is CVE-2019-9845?
- MadsKristensen.AspNetCore.Miniblog subject to Improper Input Validation This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2019-9845?
- CVE-2019-9845 affects MadsKristensen.AspNetCore.Miniblog. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2019-9845 and 200,000+ other known vulnerabilities.
Severity & Exploitability
CVSS Score
9.8
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
GHSA-958r-g534-ccmr
Related CVEs
- CVE-2026-75513CRITICAL
Marten's LINQ provider has SQL injection via unescaped string literals
- CVE-2026-105794CRITICAL
MsQuic: Improper Certificate Validation in Microsoft.Native.Quic.MsQuic.OpenSSL
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies