{"id":"CVE-2019-9845","aliases":["EUVD-2019-0586","GHSA-958r-g534-ccmr"],"status":"published","title":"MadsKristensen.AspNetCore.Miniblog subject to Improper Input Validation","description":"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.","severity":{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.02527,"percentile":0.84982,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-20"],"published":"2019-04-16T17:53:22Z","modified":"2026-06-17T02:44:42Z","affected":[{"source":"ghsa","ecosystem":"NuGet","package":"MadsKristensen.AspNetCore.Miniblog","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.3"}]}]},{"source":"osv","ecosystem":"NuGet","package":"MadsKristensen.AspNetCore.Miniblog","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.3"}]}],"versions":["1.0.0","1.0.1","1.0.2","1.0.3"]}],"products":[{"vendor":"miniblog.core_project","product":"miniblog.core"}],"references":[{"url":"https://rastating.github.io/miniblog-remote-code-execution/","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory"]},{"url":"https://github.com/madskristensen/Miniblog.Core/blob/master/src/Controllers/BlogController.cs#L142","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-9845","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-958r-g534-ccmr","tags":["advisory"]},{"url":"https://github.com/madskristensen/Miniblog.Core","tags":["package"]},{"url":"https://rastating.github.io/miniblog-remote-code-execution","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2019-9845","description":"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.","status":"published","published":"2019-04-16T17:53:22Z","modified":"2024-08-04T22:01:54.938Z","updated_at":"2026-11-02T14:20:20.397093Z"}],"euvd":[{"id":"EUVD-2019-0586","description":"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.","status":"published","published":"2019-04-16T17:53:22Z","modified":"2024-08-04T22:01:54Z","updated_at":"2026-11-03T03:06:37.634716Z"}],"ghsa":[{"id":"GHSA-958r-g534-ccmr","title":"MadsKristensen.AspNetCore.Miniblog subject to Improper Input Validation","description":"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.","status":"published","published":"2019-07-05T21:11:13Z","modified":"2023-01-11T05:04:10Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:36:12.361159Z"}],"nvd":[{"id":"CVE-2019-9845","description":"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.","status":"published","published":"2019-04-16T18:29:07.827Z","modified":"2026-06-17T02:44:42.5Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:05:11.426883Z"}],"osv":[{"id":"GHSA-958r-g534-ccmr","title":"MadsKristensen.AspNetCore.Miniblog subject to Improper Input Validation","description":"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.","status":"published","published":"2019-07-05T21:11:13Z","modified":"2024-02-19T05:32:27.163063Z","cvss":[{"version":"3.0","score":9.8,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:43.123867Z"}]}}
