{
  "CVE_data_meta": {
    "ASSIGNER": "security@huntr.dev",
    "ID": "CVE-2021-4170",
    "STATE": "PUBLIC",
    "TITLE": "Cross-site Scripting (XSS) - Stored in janeczku/calibre-web"
  },
  "affects": {
    "vendor": {
      "vendor_data": [
        {
          "product": {
            "product_data": [
              {
                "product_name": "janeczku/calibre-web",
                "version": {
                  "version_data": [
                    {
                      "version_affected": "<",
                      "version_value": "0.6.15"
                    }
                  ]
                }
              }
            ]
          },
          "vendor_name": "janeczku"
        }
      ]
    }
  },
  "data_format": "MITRE",
  "data_type": "CVE",
  "data_version": "4.0",
  "description": {
    "description_data": [
      {
        "lang": "eng",
        "value": "calibre-web is vulnerable to Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"
      }
    ]
  },
  "impact": {
    "cvss": {
      "attackComplexity": "LOW",
      "attackVector": "NETWORK",
      "availabilityImpact": "NONE",
      "baseScore": 7.3,
      "baseSeverity": "HIGH",
      "confidentialityImpact": "HIGH",
      "integrityImpact": "HIGH",
      "privilegesRequired": "LOW",
      "scope": "UNCHANGED",
      "userInteraction": "REQUIRED",
      "vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N",
      "version": "3.0"
    }
  },
  "problemtype": {
    "problemtype_data": [
      {
        "description": [
          {
            "lang": "eng",
            "value": "CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"
          }
        ]
      }
    ]
  },
  "references": {
    "reference_data": [
      {
        "name": "https://huntr.dev/bounties/ff395101-e392-401d-ab4f-579c63fbf6a0",
        "refsource": "CONFIRM",
        "url": "https://huntr.dev/bounties/ff395101-e392-401d-ab4f-579c63fbf6a0"
      },
      {
        "name": "https://github.com/janeczku/calibre-web/commit/7ad419dc8c12180e842a82118f4866ac3d074bc5",
        "refsource": "MISC",
        "url": "https://github.com/janeczku/calibre-web/commit/7ad419dc8c12180e842a82118f4866ac3d074bc5"
      }
    ]
  },
  "source": {
    "advisory": "ff395101-e392-401d-ab4f-579c63fbf6a0",
    "discovery": "EXTERNAL"
  }
}