CVE-2019-9845 json
MadsKristensen.AspNetCore.Miniblog subject to Improper Input Validation
published 7y ago modified 4mo ago also GHSA-958r-g534-ccmr , EUVD-2019-0586
- cvss
- 9.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.5%
- EPSS 2.5% chance of exploitation in 30 days, percentile 85%
- public exploits
- 0
- none known
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.
Is CVE-2019-9845 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
2.53% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- rastating.github.io https://rastating.github.io/miniblog-remote-code-execution/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| GitHub | 3.0 | 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| nuget | MadsKristensen.AspNetCore.Miniblog | <=1.0.3 |
no fix listed |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
rastating.github.io
/miniblog-remote-code-execution/
exploit, third-party-advisory
-
github.com
/madskristensen/Miniblog.Core/blob/master/src/Controllers/BlogController.cs#L142
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-9845
advisory
-
github.com
/advisories/GHSA-958r-g534-ccmr
advisory
-
github.com
/madskristensen/Miniblog.Core
package
-
rastating.github.io
/miniblog-remote-code-execution
web
Sources
- CVE List CVE-2019-9845
- GitHub Advisory GHSA-958r-g534-ccmr
- NVD CVE-2019-9845
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.