CRITICAL 9.8

CVE-2019-17495

Cross-site scripting in Swagger-UI

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.

Affected Maven artifacts (4)

ArtifactAffected versionsFixed in
io.springfox » springfox-swagger-ui
< 2.10.0
2.10.0
org.webjars » swagger-ui
< 3.23.11
3.23.11
org.webjars.npm » swagger-ui
< 3.23.11
3.23.11
org.mvnpm » swagger-uivia npm swagger-ui
< 3.23.11
3.23.11
org.webjars » swagger-uivia npm swagger-ui
< 3.23.11
3.23.11
org.webjars.npm » swagger-uivia npm swagger-ui
< 3.23.11
3.23.11

Blast radius

3affected artifacts
165affected versions
2,813dependent artifacts (est.)
67,220dependent versions

60% of the dependent artifacts (1,711) still pull an affected version in their latest release.

DepthDependent versions
Direct
27,935
2 hops
29,373
3 hops
8,163
4 hops
1,151
5 hops
521
6 hops
77

Most used dependents

Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.

Other ecosystems

Also affects npm (1 package) . See all on OSV