CriticalCVE-2019-17495

    SmartBear Swagger UI: Cross-Site Request Forgery (CSRF) (CVE-2019-17495)

    Published Sources: CVE.org, OSV

    What is affected, what to do

    A Cascading Style Sheets (CSS) injection vulnerability in Swagger UI before 3.23.11 allows attackers to use the Relative Path Overwrite (RPO) technique to perform CSS-based input field value exfiltration, such as exfiltration of a CSRF token value. In other words, this product intentionally allows the embedding of untrusted JSON data from remote servers, but it was not previously known that <style>@import within the JSON data was a functional attack method.

    An exploit is publicly available. Update SmartBear Swagger UI to version 3.23.11.

    Affected
    • SmartBear Swagger UI lt *..3.23.11
    • Oracle Banking Apis lte 18.1..18.3
    • Oracle Banking Apis eq 19.1..19.1
    • Oracle Banking Apis eq 19.2..19.2
    • Oracle Banking Apis eq 20.1..20.1
    • Oracle Banking Apis eq 21.1..21.1
    • Oracle Banking Digital Experience lte 18.1..18.3
    • Oracle Banking Digital Experience eq 19.1..19.1
    • Oracle Banking Digital Experience eq 19.2..19.2
    • Oracle Banking Digital Experience eq 20.1..20.1
    • Oracle Banking Digital Experience eq 21.1..21.1
    • Oracle Banking Platform lte 2.4.0..2.10.0
    • Oracle Primavera Gateway lte 16.2.0..16.2.11
    • Oracle Primavera Gateway lte 17.12.0..17.12.8
    • Oracle Utilities Framework eq 4.3.0.6.0..4.3.0.6.0
    • Oracle Utilities Framework eq 4.4.0.0.0..4.4.0.0.0
    • Oracle Utilities Framework eq 4.4.0.2.0..4.4.0.2.0
    Fixed in
    • SmartBear Swagger UI 3.23.11

    Not sure whether and how you are affected? Ask a question about this vulnerability

    Metrics

    9.8

    Priority

    XIEM Effective CVSS: highest available CVSS rating from NVD and vendor data.

    Source: NVD, CVSS v3

    9.8

    CVSS v3

    Severity Critical on the scale from 0 to 10.

    Source: CVE.org, OSV

    5.7 %

    EPSS score

    Moderate — model estimates 1-10% exploitation likelihood.

    Source: FIRST EPSS, percentile 93.0

    Show all metrics
    Severity
    Critical
    Priority (0–325)

    The priority score is a consolidated metric that condenses several individual signals into a single, action-guiding ranking: technical severity (CVSS), exploitation likelihood (EPSS), known-exploited status (KEV) and the context of the affected asset. The aim is to answer the only truly important question in vulnerability management: what first?

    Read in glossary
    118.21 Methodology
    Exploit maturity

    An exploit is code or a technique that specifically uses a concrete vulnerability to force unintended behaviour — such as executing code or escalating privileges. It is the tool that turns a theoretical flaw into a practical attack.

    Read in glossary
    PoC (publicly reported)
    XIEM Effective CVSS

    XIEM® is the tiered managed-security operating model from NEOSEC and a registered trademark of NEOSEC GmbH. It extends classic SIEM — the central collection, normalisation and correlation of security-relevant events — with endpoint forensics, network visibility and deception technology, and consolidates them into three building tiers: Sentry, Orchestrate and Command.

    Read in glossary
    9.8 Methodology
    CVSS v3

    CVSS is the globally established, open standard for assessing the technical severity of a vulnerability on a scale from 0 to 10. It describes how easily a flaw can be exploited and what damage it can cause — but not how likely its actual exploitation is. CVSS and the complementary EPSS deliberately answer different questions.

    Read in glossary
    9.8
    EPSS score

    The EPSS score is the absolute model output for an individual vulnerability: the estimated probability of real-world exploitation within the next 30 days, expressed as a value between 0 and 1 (i.e. 0 % to 100 %). A score of 0.42 means „the model estimates a 42 % chance of real-world exploitation within 30 days“.

    Read in glossary
    5.7 %
    Moderate — model estimates 1-10% exploitation likelihood.
    EPSS percentile

    The EPSS percentile is the relative position of a vulnerability within all EPSS-scored CVEs, expressed as a value between 0 and 1. A percentile of 0.90 means „this CVE has a higher EPSS score than 90 % of all other scored CVEs“. Unlike the EPSS score, it is not a probability — but a positioning within a ranking.

    Read in glossary
    93.0
    Critical — this CVE ranks in the top fifth of all CVEs scored today (rank ≥ 80%).
    KEV status

    The KEV catalogue is a list maintained by the US authority CISA of vulnerabilities for which active exploitation in the wild has been confirmed. It answers not the question „how severe?“ but „is it already being attacked?“ — thereby sharply prioritising patching.

    Read in glossary
    —
    Published

    Detection rules

    No NEOSEC detection rule is available for this vulnerability yet.

    Classification under NIS2 and CRA

    Rule-based classification from exploitation status and severity. It does not replace a case-by-case assessment.

    NIS2

    NIS2 is EU Directive (EU) 2022/2555 to raise the level of cybersecurity across the Union. It substantially broadens obligations compared with the first NIS directive: more sectors, mandatory risk management, staged reporting duties and personal accountability of senior management.

    Read in glossary
    High technical severity: assess and remediate the vulnerability in vulnerability handling under Art. 21(2)(e) NIS2 and document the decision.
    CRA

    The CRA is EU Regulation (EU) 2024/2847 setting horizontal cybersecurity requirements for „products with digital elements“ — from industrial controllers and software to connected consumer devices. For the first time manufacturers must ensure security across the entire product lifecycle, handle vulnerabilities and provide security updates.

    Read in glossary
    From 11.12.2027, Annex I Part II CRA requires manufacturers of affected products with digital elements to handle vulnerabilities without delay and provide security updates.
    ISO/IEC 27001

    ISO/IEC 27001 is the internationally leading standard for an information security management system (ISMS). It describes a risk-based, process-oriented framework to systematically plan, implement, review and improve information security.

    Read in glossary
    Control A.8.8, management of technical vulnerabilities: assess relevance to your systems, plan remediation and keep evidence.

    Description

    A Cascading Style Sheets (CSS) injection vulnerability in Swagger UI before 3.23.11 allows attackers to use the Relative Path Overwrite (RPO) technique to perform CSS-based input field value exfiltration, such as exfiltration of a CSRF token value. In other words, this product intentionally allows the embedding of untrusted JSON data from remote servers, but it was not previously known that <style>@import within the JSON data was a functional attack method.

    Source: cvelistv5, NVD (NIST), OSV (Open Source Vulnerabilities)

    Affected products

    The following versions are affected. Older releases of the same product line are also vulnerable unless stated otherwise.

    Affected products
    Affected versionsFixed in
    oraclebanking_apis
    • 20.1
    • 19.2
    • 18.1 – ≤ 18.3
    • 19.1
    • 21.1
    • —
    • —
    • —
    • —
    • —
    oraclebanking_digital_experience
    • 21.1
    • 19.2
    • 19.1
    • 18.1 – ≤ 18.3
    • 20.1
    • —
    • —
    • —
    • —
    • —
    oraclebanking_platform
    • 2.4.0 – ≤ 2.10.0
    • —
    oracleprimavera_gateway
    • 17.12.0 – ≤ 17.12.8
    • 16.2.0 – ≤ 16.2.11
    • —
    • —
    oracleutilities_framework
    • 4.3.0.6.0
    • 4.4.0.2.0
    • 4.4.0.0.0
    • —
    • —
    • —
    smartbearswagger_ui
    • < 3.23.11
    • 3.23.11
    mavenio.springfox:springfox-swagger-ui
    • 2.1.0
    • 2.4.0
    • 2.3.0
    • 2.6.1
    • 2.9.2
    • 2.9.1
    • 2.2.2
    • 2.5.0
    • 2.8.0
    • 2.0.1
    • 2.7.0
    • 2.0.2
    • 2.3.1
    • 2.1.2
    • 2.0.3
    • 2.1.1
    • 2.6.0
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    mavenorg.webjars.npm:swagger-ui
    • 3.6.1
    • 2.2.8
    • 3.9.3
    • 3.19.0
    • 3.1.4
    • 2.2.10
    • 3.19.4
    • 3.22.0
    • 3.23.3
    • 3.23.4
    • 2.2.0
    • 3.4.1
    • 3.0.6
    • 3.0.17
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —
    • —

    Vendors and products

    Public exploit references

    Publicly reported proof-of-concepts, exploit modules and detection templates for this vulnerability. NEOSEC links to the original sources only and does not provide any exploit code.

    Public exploit references
    Reference tagged as exploitgithub.com (opens in a new tab)PoC (publicly reported)reported, not verified—

    References & sources

    • NVD (NIST)vuln/detail/CVE-2019-17495advisory
    • github.comspringfox/springfox/commit/26f72f0d16b166e12c20255a4ee907dc1068…web
    • github.comswagger-api/swagger-uipackage
    • github.comswagger-api/swagger-ui/releases/tag/v3.23.11web, x_refsource_MISC, Release notes
    • github.comtarantula-team/CSS-injection-in-Swagger-UIweb, x_refsource_MISC, Exploit, Third-party advisory
    • lists.apache.orgthread.html/r103579b01da2d0aa0f672b88f811224bbf8ef493aaad845895…web
    • lists.apache.orgthread.html/r3acb7e494cf1aab99b6784b7c5bbddfd0d4f8a484ab534c3a6…web
    • lists.apache.orgthread.html/r84b327f7a8b6b28857b906c07a66dd98e1d341191fa8d78165…web
    • lists.apache.orgthread.html/r853ffeb915a400f899de78124d4e0d77a19379d2e11bf8f4e9…web
    • lists.apache.orgthread.html/ref70b940c4f69560d29d6ba792d6c82865e74de3dcad4c92d9…web
    • security.snyk.iovuln/maven?search=CVE-2019-17495web
    • oracle.comsecurity-alerts/cpuApr2021.htmlweb, x_refsource_MISC, Patch, Third-party advisory
    • oracle.comsecurity-alerts/cpujan2022.htmlweb, x_refsource_MISC, Patch, Third-party advisory
    • oracle.comsecurity-alerts/cpujul2022.htmlweb, x_refsource_MISC
    • oracle.comsecurity-alerts/cpuoct2020.htmlweb, x_refsource_MISC, Patch, Third-party advisory
    • lists.apache.org[airflow-commits] 20210920 [GitHub] [airflow] boring-cyborg[bot] commented on issue #18383: CVE-2019-17495 for swagger-uiMailing list, x_refsource_MLIST
    • lists.apache.org[airflow-commits] 20210920 [GitHub] [airflow] beltran-rubo opened a new issue #18383: CVE-2019-17495 for swagger-uiMailing list, x_refsource_MLIST
    • lists.apache.org[airflow-commits] 20210920 [GitHub] [airflow] uranusjr commented on issue #18383: CVE-2019-17495 for swagger-uiMailing list, x_refsource_MLIST
    • lists.apache.org[airflow-commits] 20210921 [GitHub] [airflow] beltran-rubo commented on issue #18383: CVE-2019-17495 for swagger-uiMailing list, x_refsource_MLIST
    • lists.apache.org[airflow-commits] 20210921 [GitHub] [airflow] beltran-rubo closed issue #18383: CVE-2019-17495 for swagger-uiMailing list, x_refsource_MLIST
    Embed badge

    Show the severity and KEV status of this vulnerability on your site – with a link back here. The image is updated hourly.

    Badge preview for CVE-2019-17495
    <a href="https://intel.neosec.eu/en/cve/CVE-2019-17495"><img src="https://intel.neosec.eu/badge/cve/CVE-2019-17495.svg?lang=en" alt="CVE-2019-17495 – NEOSEC Intel" height="20"></a>