{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2020/cve-2020-1697.json"
      }
    ],
    "title": "keycloak: stored XSS in client settings via application links",
    "tracking": {
      "current_release_date": "2026-06-28T07:33:26+00:00",
      "generator": {
        "date": "2026-06-28T07:33:26+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.2.6"
        }
      },
      "id": "CVE-2020-1697",
      "initial_release_date": "2020-02-05T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2020-02-05T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2021-02-16T20:45:20+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2026-06-28T07:33:26+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Fuse 7",
                "product": {
                  "name": "Red Hat Fuse 7",
                  "product_id": "red_hat_fuse_7",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:jboss_fuse:7"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Fuse 7"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Mobile Application Platform 4",
                "product": {
                  "name": "Red Hat Mobile Application Platform 4",
                  "product_id": "red_hat_mobile_application_platform_4",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:mobile_application_platform:4"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Mobile Application Platform 4"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat OpenShift Application Runtimes",
                "product": {
                  "name": "Red Hat OpenShift Application Runtimes",
                  "product_id": "red_hat_openshift_application_runtimes",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:openshift_application_runtimes:1.0"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "Text-Only RHOAR",
                "product": {
                  "name": "Text-Only RHOAR",
                  "product_id": "Text-Only RHOAR",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:openshift_application_runtimes:1.0"
                  }
                }
              },
              {
                "category": "product_name",
                "name": "Red Hat Runtimes Spring Boot 2.2.6",
                "product": {
                  "name": "Red Hat Runtimes Spring Boot 2.2.6",
                  "product_id": "Red Hat Runtimes Spring Boot 2.2.6",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:openshift_application_runtimes:1.0"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat OpenShift Application Runtimes"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Single Sign-On 7",
                "product": {
                  "name": "Red Hat Single Sign-On 7",
                  "product_id": "red_hat_single_sign-on_7",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:red_hat_single_sign_on:7"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Single Sign-On 7"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat support for Spring Boot",
                "product": {
                  "name": "Red Hat support for Spring Boot",
                  "product_id": "red_hat_support_for_spring_boot",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:openshift_application_runtimes:1.0"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat support for Spring Boot"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Single Sign-On 7.3",
                "product": {
                  "name": "Red Hat Single Sign-On 7.3",
                  "product_id": "Red Hat Single Sign-On 7.3",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:jboss_single_sign_on:7.3"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Single Sign-On"
          },
          {
            "category": "product_version",
            "name": "keycloak",
            "product": {
              "name": "keycloak",
              "product_id": "keycloak"
            }
          },
          {
            "category": "product_version",
            "name": "keycloak.src",
            "product": {
              "name": "keycloak.src",
              "product_id": "keycloak.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/keycloak?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "rh-sso7-keycloak",
            "product": {
              "name": "rh-sso7-keycloak",
              "product_id": "rh-sso7-keycloak"
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "keycloak as a component of Red Hat Fuse 7",
          "product_id": "red_hat_fuse_7:keycloak"
        },
        "product_reference": "keycloak",
        "relates_to_product_reference": "red_hat_fuse_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "keycloak.src as a component of Red Hat Mobile Application Platform 4",
          "product_id": "red_hat_mobile_application_platform_4:keycloak.src"
        },
        "product_reference": "keycloak.src",
        "relates_to_product_reference": "red_hat_mobile_application_platform_4"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "keycloak as a component of Red Hat OpenShift Application Runtimes",
          "product_id": "red_hat_openshift_application_runtimes:keycloak"
        },
        "product_reference": "keycloak",
        "relates_to_product_reference": "red_hat_openshift_application_runtimes"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "rh-sso7-keycloak as a component of Red Hat Single Sign-On 7",
          "product_id": "red_hat_single_sign-on_7:rh-sso7-keycloak"
        },
        "product_reference": "rh-sso7-keycloak",
        "relates_to_product_reference": "red_hat_single_sign-on_7"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "keycloak as a component of Red Hat support for Spring Boot",
          "product_id": "red_hat_support_for_spring_boot:keycloak"
        },
        "product_reference": "keycloak",
        "relates_to_product_reference": "red_hat_support_for_spring_boot"
      }
    ]
  },
  "vulnerabilities": [
    {
      "acknowledgments": [
        {
          "names": [
            "Cure53 Berlin"
          ]
        }
      ],
      "cve": "CVE-2020-1697",
      "cwe": {
        "id": "CWE-79",
        "name": "Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"
      },
      "discovery_date": "2020-01-16T00:00:00+00:00",
      "flags": [
        {
          "label": "vulnerable_code_not_present",
          "product_ids": [
            "red_hat_fuse_7:keycloak"
          ]
        }
      ],
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1791538"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "A flaw was found during the assessment of the Admin Console application for Keycloak, where it was found that Application Links to external applications are not validated properly. An attacker could use this flaw to cause Stored XSS attacks.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "keycloak: stored XSS in client settings via application links",
          "title": "Vulnerability summary"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "fixed": [
          "Red Hat Runtimes Spring Boot 2.2.6",
          "Red Hat Single Sign-On 7.3",
          "Text-Only RHOAR"
        ],
        "known_affected": [
          "red_hat_mobile_application_platform_4:keycloak.src",
          "red_hat_openshift_application_runtimes:keycloak",
          "red_hat_single_sign-on_7:rh-sso7-keycloak",
          "red_hat_support_for_spring_boot:keycloak"
        ],
        "known_not_affected": [
          "red_hat_fuse_7:keycloak"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2020-1697"
        },
        {
          "category": "external",
          "summary": "RHBZ#1791538",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1791538"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2020-1697",
          "url": "https://www.cve.org/CVERecord?id=CVE-2020-1697"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2020-1697",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-1697"
        }
      ],
      "release_date": "2020-02-05T00:00:00+00:00",
      "remediations": [
        {
          "category": "vendor_fix",
          "date": "2020-06-01T15:32:19+00:00",
          "details": "Before applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on.\n\nThe References section of this erratum contains a download link (you must log in to download the update).",
          "product_ids": [
            "Red Hat Runtimes Spring Boot 2.2.6"
          ],
          "url": "https://access.redhat.com/errata/RHSA-2020:2252"
        },
        {
          "category": "vendor_fix",
          "date": "2020-02-06T08:34:54+00:00",
          "details": "Before applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on.\n\nThe References section of this erratum contains a download link (you must log in to download the update).",
          "product_ids": [
            "Red Hat Single Sign-On 7.3"
          ],
          "url": "https://access.redhat.com/errata/RHSA-2020:0445"
        },
        {
          "category": "vendor_fix",
          "date": "2020-07-23T07:03:40+00:00",
          "details": "Before applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on.\n\nThe References section of this erratum contains a download link for the update. You must be logged in to download the update.",
          "product_ids": [
            "Text-Only RHOAR"
          ],
          "url": "https://access.redhat.com/errata/RHSA-2020:2905"
        },
        {
          "category": "no_fix_planned",
          "details": "Out of support scope",
          "product_ids": [
            "red_hat_mobile_application_platform_4:keycloak.src"
          ]
        },
        {
          "category": "none_available",
          "details": "Affected",
          "product_ids": [
            "red_hat_openshift_application_runtimes:keycloak",
            "red_hat_single_sign-on_7:rh-sso7-keycloak",
            "red_hat_support_for_spring_boot:keycloak"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v3": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 6.1,
            "baseSeverity": "MEDIUM",
            "confidentialityImpact": "LOW",
            "integrityImpact": "LOW",
            "privilegesRequired": "NONE",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
            "version": "3.1"
          },
          "products": [
            "Red Hat Runtimes Spring Boot 2.2.6",
            "Red Hat Single Sign-On 7.3",
            "Text-Only RHOAR",
            "red_hat_fuse_7:keycloak",
            "red_hat_mobile_application_platform_4:keycloak.src",
            "red_hat_openshift_application_runtimes:keycloak",
            "red_hat_single_sign-on_7:rh-sso7-keycloak",
            "red_hat_support_for_spring_boot:keycloak"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate",
          "product_ids": [
            "Red Hat Runtimes Spring Boot 2.2.6",
            "Red Hat Single Sign-On 7.3",
            "Text-Only RHOAR",
            "red_hat_fuse_7:keycloak",
            "red_hat_mobile_application_platform_4:keycloak.src",
            "red_hat_openshift_application_runtimes:keycloak",
            "red_hat_single_sign-on_7:rh-sso7-keycloak",
            "red_hat_support_for_spring_boot:keycloak"
          ]
        }
      ],
      "title": "keycloak: stored XSS in client settings via application links"
    }
  ]
}