| Gói / sản phẩm | Phiên bản bị ảnh hưởng | Phiên bản đã vá |
|---|---|---|
| parse-server | = 9.7.0≥ 3.5.0, < 8.6.66≥ 9.0.0, < 9.7.0 | 8.6.669.7.0 |
| parse-server | ≥ 3.5.0, < 8.6.66≥ 9.0.0, < 9.7.0-alpha.10 | 8.6.669.7.0-alpha.10 |
The GraphQL API endpoint does not respect the allowOrigin server option and unconditionally allows cross-origin requests from any website. This bypasses origin restrictions that operators configure to control which websites can interact with the Parse Server API. The REST API correctly enforces the configured allowOrigin restriction.
The GraphQL API endpoint now uses the same CORS middleware as the REST API, ensuring the allowOrigin and allowHeaders server options are consistently enforced across all endpoints.
There is no known workaround other than upgrading.
Bạn đang dùng một trong các sản phẩm này? Quét site để biết có đang lộ phiên bản có lỗ hổng không.
Quét site miễn phí