Exposing Swagger/OpenAPI documentation is primarily a risk if your API has underlying security flaws, as it gives attackers a precise roadmap to find them.
Those detail every endpoint, parameter, and data model, making it easier to discover and exploit vulnerabilities like broken access control or injection points.
While a perfectly secure API mitigates the danger, protecting your documentation is a critical layer of defense that forces attackers to work without a map.
Severity: info
Fingerprint: 5733ddf49ff49cd12ec8532c2ec8532c2ec8532c2ec8532c2ec8532c2ec8532c
Public Swagger UI/API detected at path: /swagger/index.html
Open service 23.53.43.18:443 · gapi.admin.cpr.dk
2026-01-23 16:34
HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 151
Expires: Fri, 23 Jan 2026 16:34:13 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Fri, 23 Jan 2026 16:34:13 GMT
Connection: close
Set-Cookie: GoPublicAffinity=1769186054.817.660986.803969|261e38476e3989af40c1e3f0f2b14da0; Path=/; Secure; HttpOnly
Strict-Transport-Security: max-age=31536000
{"succeeded":false,"errors":{"general":[{"message":"Origin-headeren må ikke være tom","code":"ORIGIN_HEADER_EMPTY"}],"validation":[]},"successes":[]}
Open service 23.53.43.18:443 · gapi.admin.cpr.dk
2026-01-09 15:21
HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 151
Expires: Fri, 09 Jan 2026 15:21:54 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Fri, 09 Jan 2026 15:21:54 GMT
Connection: close
Set-Cookie: GoPublicAffinity=1767972115.08.566734.392013|261e38476e3989af40c1e3f0f2b14da0; Path=/; Secure; HttpOnly
Strict-Transport-Security: max-age=31536000
{"succeeded":false,"errors":{"general":[{"message":"Origin-headeren må ikke være tom","code":"ORIGIN_HEADER_EMPTY"}],"validation":[]},"successes":[]}
Open service 23.53.43.18:443 · gapi.admin.cpr.dk
2026-01-02 12:21
HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 151
Expires: Fri, 02 Jan 2026 12:21:45 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Fri, 02 Jan 2026 12:21:45 GMT
Connection: close
Set-Cookie: GoPublicAffinity=1767356506.864.539601.786080|261e38476e3989af40c1e3f0f2b14da0; Path=/; Secure; HttpOnly
Strict-Transport-Security: max-age=31536000
{"succeeded":false,"errors":{"general":[{"message":"Origin-headeren må ikke være tom","code":"ORIGIN_HEADER_EMPTY"}],"validation":[]},"successes":[]}
Open service 23.53.43.18:443 · gapi.admin.cpr.dk
2025-12-22 18:27
HTTP/1.1 400 Bad Request
Content-Type: application/json; charset=utf-8
Content-Length: 151
Expires: Mon, 22 Dec 2025 18:27:05 GMT
Cache-Control: max-age=0, no-cache, no-store
Pragma: no-cache
Date: Mon, 22 Dec 2025 18:27:05 GMT
Connection: close
Set-Cookie: GoPublicAffinity=1766428026.229.541071.157419|261e38476e3989af40c1e3f0f2b14da0; Path=/; Secure; HttpOnly
Strict-Transport-Security: max-age=31536000
{"succeeded":false,"errors":{"general":[{"message":"Origin-headeren må ikke være tom","code":"ORIGIN_HEADER_EMPTY"}],"validation":[]},"successes":[]}