Advisory Database
  • Advisories
  • Dependency Scanning
  1. nuget
  2. ›
  3. MadsKristensen.AspNetCore.Miniblog
  4. ›
  5. CVE-2019-9845

CVE-2019-9845: Improper Input Validation

April 16, 2019 (updated April 17, 2019)

madskristensen Miniblog.Core 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.

References

  • github.com/madskristensen/Miniblog.Core/blob/master/src/Controllers/BlogController.cs
  • nvd.nist.gov/vuln/detail/CVE-2019-9845
  • rastating.github.io/miniblog-remote-code-execution/

Code Behaviors & Features

Detect and mitigate CVE-2019-9845 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions up to 2019-01-16

Solution

Unfortunately, there is no solution available yet.

Impact 9.8 CRITICAL

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

nuget/MadsKristensen.AspNetCore.Miniblog/CVE-2019-9845.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:50 +0000.