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)
| Artifact | Affected versions | Fixed 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
60% of the dependent artifacts (1,711) still pull an affected version in their latest release.
| Depth | Dependent 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
- org.apache.kafka » kafka1,450 usages
- org.springdoc » springdoc-openapi-ui786 usages
- com.github.xiaoymin » knife4j-spring-boot-starter292 usages
- org.apache.storm » storm-core263 usages
- org.nrg.xnat » web75 usages
- org.nrg.xnat » xnat-data-models74 usages
- org.springdoc » springdoc-openapi-webflux-ui60 usages
- io.quarkus » quarkus-smallrye-openapi-deployment59 usages
- com.netflix.spinnaker.fiat » fiat-core57 usages
- cn.structured » structure-common55 usages
- io.mosip.kernel » kernel-auth-adapter55 usages
- com.forgerock.openbanking » forgerock-openbanking-model52 usages
- org.apache.pinot » pinot-common50 usages
- com.netflix.spinnaker.kork » kork-swagger44 usages
- io.mosip.registrationprocessor » registration-processor-core44 usages
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
