You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.setName("Vulnerable Swagger UI version detected (v"+semver+")")
236
-
.setAlertRef("100001-1")
231
+
.setName("Vulnerable Swagger UI Version Detected (v"+semver+")")
232
+
.setAlertRef("100043-1")
237
233
.setDescription("This Swagger UI version is known to contain vulnerabilities. Exploitation may allow unauthorized access, XSS, or token theft.\n\nAffected versions:\n- Swagger UI v2 < 2.2.10\n- Swagger UI v3 < 3.24.3")
238
234
.setOtherInfo("Discovered at: "+fullPath)
239
235
.setSolution("Upgrade to the latest version of Swagger UI. Regularly review and patch known issues.")
@@ -262,21 +258,22 @@ function detectSecrets(as, requestMsg, fullPath, body) {
.setName("Exposed secrets in Swagger/OpenAPI path")
273
-
.setAlertRef("100001-2")
269
+
.setName("Exposed Secrets in Swagger/OpenAPI Path")
270
+
.setAlertRef("100043-2")
274
271
.setDescription("Swagger UI endpoint exposes sensitive secrets such as client secrets, API keys, or OAuth tokens. These secrets may be accessible in the HTML source and should not be exposed publicly, as this can lead to compromise.")
0 commit comments