{"api_version":"1","generated_at":"2026-07-23T09:47:33+00:00","cve":"CVE-2019-9842","urls":{"html":"https://cve.report/CVE-2019-9842","api":"https://cve.report/api/cve/CVE-2019-9842.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-9842","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-9842"},"summary":{"title":"CVE-2019-9842","description":"madskristensen MiniBlog through 2018-05-18 allows remote attackers to execute arbitrary ASPX code via an IMG element with a data: URL, because SaveFilesToDisk in app_code/handlers/PostHandler.cs writes a decoded base64 string to a file without validating the extension.","state":"PUBLIC","assigner":"cve@mitre.org","published_at":"2019-06-14 20:29:00","updated_at":"2019-06-19 18:16:00"},"problem_types":["CWE-434"],"metrics":[],"references":[{"url":"https://github.com/madskristensen/MiniBlog/blob/1a7ae45ddba484e2c8f808e288e018748c9ddb57/Website/app_code/handlers/PostHandler.cs#L85","name":"https://github.com/madskristensen/MiniBlog/blob/1a7ae45ddba484e2c8f808e288e018748c9ddb57/Website/app_code/handlers/PostHandler.cs#L85","refsource":"MISC","tags":["Third Party Advisory"],"title":"MiniBlog/PostHandler.cs at 1a7ae45ddba484e2c8f808e288e018748c9ddb57 · madskristensen/MiniBlog · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://rastating.github.io/miniblog-remote-code-execution/","name":"https://rastating.github.io/miniblog-remote-code-execution/","refsource":"MISC","tags":["Exploit","Third Party Advisory"],"title":"MiniBlog Remote Code Execution | rastating.github.io","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-9842","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-9842","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2019","cve_id":"9842","vulnerable":"1","versionEndIncluding":"2018-05-18","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"miniblog_project","cpe5":"miniblog","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2019-9842","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"madskristensen MiniBlog through 2018-05-18 allows remote attackers to execute arbitrary ASPX code via an IMG element with a data: URL, because SaveFilesToDisk in app_code/handlers/PostHandler.cs writes a decoded base64 string to a file without validating the extension."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"url":"https://github.com/madskristensen/MiniBlog/blob/1a7ae45ddba484e2c8f808e288e018748c9ddb57/Website/app_code/handlers/PostHandler.cs#L85","refsource":"MISC","name":"https://github.com/madskristensen/MiniBlog/blob/1a7ae45ddba484e2c8f808e288e018748c9ddb57/Website/app_code/handlers/PostHandler.cs#L85"},{"url":"https://rastating.github.io/miniblog-remote-code-execution/","refsource":"MISC","name":"https://rastating.github.io/miniblog-remote-code-execution/"}]}},"nvd":{"publishedDate":"2019-06-14 20:29:00","lastModifiedDate":"2019-06-19 18:16:00","problem_types":["CWE-434"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.2,"baseSeverity":"HIGH"},"exploitabilityScore":1.2,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":6.5},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:miniblog_project:miniblog:*:*:*:*:*:*:*:*","versionEndIncluding":"2018-05-18","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2019","CveId":"9842","Ordinal":"147728","Title":"CVE-2019-9842","CVE":"CVE-2019-9842","Year":"2019"},"notes":[{"CveYear":"2019","CveId":"9842","Ordinal":"1","NoteData":"madskristensen MiniBlog through 2018-05-18 allows remote attackers to execute arbitrary ASPX code via an IMG element with a data: URL, because SaveFilesToDisk in app_code/handlers/PostHandler.cs writes a decoded base64 string to a file without validating the extension.","Type":"Description","Title":null},{"CveYear":"2019","CveId":"9842","Ordinal":"2","NoteData":"2019-06-14","Type":"Other","Title":"Published"},{"CveYear":"2019","CveId":"9842","Ordinal":"3","NoteData":"2019-06-14","Type":"Other","Title":"Modified"}]}}}