SecurityContext

CVE-2023-6568: Content-Type Header Reflection XSS

  • Cve: CVE-2023-6568
  • Name: Content-Type Header Reflection XSS
  • Description: A reflected Cross-Site Scripting (XSS) vulnerability exists in the mlflow/mlflow repository, specifically within the handling of the Content-Type header in POST requests. An attacker can inject malicious JavaScript code into the Content-Type header, which is then improperly reflected back to the user without adequate sanitization or escaping, leading to arbitrary JavaScript execution in the context of the victim's browser. The vulnerability is present in the mlflow/server/auth/__init__.py file, where the user-supplied Content-Type header is directly injected into a Python formatted string and returned to the user, facilitating the XSS attack.
  • Impact: Attackers can execute arbitrary scripts in the context of the victim's browser, leading to session hijacking, defacement, or redirection.
  • Remediation: Implement proper sanitization and escaping of the Content-Type header in POST requests, and update to the latest version of the software.
  • Vulnerability type: reflected_xss
  • Vulnerability impact: client_script_exec
  • Requirement type: user_interaction
  • Requirements: Attacker needs to send a crafted POST request with malicious Content-Type header
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.1
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
  • Epss score: 0.01649
  • Epss percentile: 0.77128
  • Assignee: [email protected]
  • Published at: 2023-12-07T05:15:09Z
  • Age in days: 1083
  • Modified at: 2026-06-17T06:51:00Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-6568
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, public exploits capped, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Nuclei templates

IdUrl
CVE-2023-6568https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-6568.yaml

Public exploits

UrlSourceAdded date
https://huntr.com/bounties/816bdaaa-8153-4732-951e-b0d92fddf709nvd2023-12-07

References

UrlSourceTags
https://github.com/mlflow/mlflow/commit/28ff3f94994941e038f2172c6484b65dc4db6ca1nvdPatch
https://huntr.com/bounties/816bdaaa-8153-4732-951e-b0d92fddf709nvdExploit, Third Party Advisory
https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2023/CVE-2023-6568.yamlnuclei_templateNuclei Template

Products

ProductAffectedPlatform boundSourcesUrl
lfprojects:mlflow<= 2.9.0nonvd/v1/products/lfprojects/mlflow

Projects

RepositoryLink kindsIndexedUrl
mlflow/mlflowcommit, fix, packageyes/v1/repositories/mlflow/mlflow

Index

  • Repositories: 146
  • Repositories high signal: 59
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2023-12-07
  • Remote: yes
  • Exposed hosts: 3650
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, initial access since, hackerone reports

Nuclei template