Quarkus 3.39
Last reviewed Oct 9, 2026
Prompt Details
Prompt Composition
2prompts
- Java 25113 lines · 2.8K tokens
- Quarkus 3.3971 lines · 2.9K tokens
Total184 lines · 5.7K tokens
CWE Coverage
- 20
- 22
- 59
- 78
- 79
- 88
- 89
- 95
- 117
- 190
- 208
- 209
- 214
- 295
- 297
- 306
- 307
- 319
- 323
- 327
- 338
- 346
- 347
- 352
- 362
- 367
- 378
- 427
- 444
- 470
- 471
- 494
- 502
- 524
- 532
- 601
- 611
- 613
- 638
- 639
- 653
- 681
- 732
- 770
- 772
- 776
- 789
- 807
- 862
- 863
- 915
- 916
- 918
- 922
- 942
- 1333
- 1336
Prompt Preview
Apply the Java 25 baseline first. These rules cover Quarkus 3.39 controls.
HTTP limits and proxy trust
- Keep
quarkus.http.limits.max-body-sizeat or below its 10 MiB default and set smaller route-specific limits before a handler buffers or parses a body. - Bound forms with
max-form-attribute-size,max-form-fields, andmax-form-buffered-bytes; values of-1disable the corresponding field-count or buffering limit. - Bound request lines, headers, parameters, multipart headers, connections, and HTTP/2 streams; the defaults do not provide a finite connection cap or a practical initial HTTP/2 stream cap.
- Leave
quarkus.http.proxy.proxy-address-forwarding=falseunless a known reverse proxy strips client-supplied forwarding headers. - When forwarding is enabled, set
quarkus.http.proxy.trusted-proxiesto exact IP/CIDR ranges: an absent list trusts every proxy unless certificate-based proxy trust is configured, and hostnames cause DNS lookups on requests. - When Quarkus terminates HTTPS, close the plain HTTP listener with
quarkus.http.insecure-requests=disabledso requests cannot bypass TLS.
WebSockets Next
- Secure protected WebSockets Next upgrades with
@Authenticatedor@RolesAllowedon the endpoint class; annotations only on callbacks leave the upgrade unprotected. Authorize each message's operation and tenant or object access separately. For browser clients, requirewssand reject untrustedOriginvalues before upgrade, usingHttpUpgradeCheck.perform()when custom checks are needed. - Set
quarkus.websockets-next.server.max-frame-sizeand