{"id":"CVE-2024-40633","aliases":["CVE-2024-40633","GHSA-55rf-8q29-4g43"],"related":[],"kind":"vulnerability","state":"published","title":"Customer data leak via adjustments API endpoint in Sylius","summary":"Sylius is an Open Source eCommerce Framework on Symfony. A security vulnerability was discovered in the `/api/v2/shop/adjustments/{id}` endpoint, which retrieves order adjustments based on incremental integer IDs. The vulnerability allows an attacker to enumerate valid adjustment IDs and retrieve order tokens. Using these tokens, an attacker can access guest customer order details - sensitive guest customer information.  The issue is fixed in versions: 1.12.19, 1.13.4 and above. The `/api/v2/shop/adjustments/{id}` will always return `404` status. Users are advised to upgrade. Users unable to upgrade may alter their config to mitigate this issue. Please see the linked GHSA for details.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Sylius is an Open Source eCommerce Framework on Symfony. A security vulnerability was discovered in the `/api/v2/shop/adjustments/{id}` endpoint, which retrieves order adjustments based on incremental integer IDs. The vulnerability allows an attacker to enumerate valid adjustment IDs and retrieve order tokens. Using these tokens, an attacker can access guest customer order details - sensitive guest customer information.  The issue is fixed in versions: 1.12.19, 1.13.4 and above. The `/api/v2/shop/adjustments/{id}` will always return `404` status. Users are advised to upgrade. Users unable to upgrade may alter their config to mitigate this issue. Please see the linked GHSA for details.","source":"cvelist"},{"lang":"en","text":"### Impact\nA security vulnerability was discovered in the `/api/v2/shop/adjustments/{id}` endpoint, which retrieves order adjustments based on incremental integer IDs. The vulnerability allows an attacker to enumerate valid adjustment IDs and retrieve order tokens. Using these tokens, an attacker can access guest customer order details - sensitive guest customer information.\n\n### Patches\nThe issue is fixed in versions: 1.9.12, 1.10.16, 1.11.17, 1.12.19, 1.13.4 and above.\nThe `/api/v2/shop/adjustments/{id}` will always return `404` status.\n\n### Workarounds\n\nUsing YAML configuration:\n\nCreate `config/api_platform/Adjustment.yaml` file:\n\n```yaml\n# config/api_platform/Adjustment.yaml\n\n'%sylius.model.adjustment.class%':\n    itemOperations:\n        shop_get:\n            controller: ApiPlatform\\Core\\Action\\NotFoundAction\n            read: false\n            output: false\n```\n\nOr using XML configuration:\n\n> Note: This is the only way of disabling the vulnerable endpoint for Sylius 1.9, as YAML configuration is not supported in that version.\n\nCopy the original configuration from vendor:\n\n```bash\n# create directory if it doesn't exist\nmkdir -p config/api_platform\n\ncp vendor/sylius/sylius/src/Sylius/Bundle/ApiBundle/Resources/config/api_resources/Adjustment.xml config/api_platform\n```\n\nAnd change the `shop_get` operation in copied `config/api_platform/Adjustment.xml` file:\n\n```xml\n<!-- config/api_platform/Adjustment.xml -->\n\n...\n<itemOperation name=\"shop_get\">\n    <attribute name=\"method\">GET</attribute>\n    <attribute name=\"path\">/shop/adjustments/{id}</attribute>\n    <attribute name=\"controller\">ApiPlatform\\Core\\Action\\NotFoundAction</attribute>\n    <attribute name=\"read\">false</attribute>\n    <attribute name=\"output\">false</attribute>\n</itemOperation>\n...\n```\n\nUpdate your API platform paths config if needed so the new configuration file is loaded:\n\n```yaml\n# config/packages/api_platform.yaml\napi_platform:\n    mapping:\n        paths:\n          - '%kernel.project_dir%/vendor/sylius/sylius/src/Sylius/Bundle/ApiBundle/Resources/config/api_resources'\n          ...\n          - '%kernel.project_dir%/config/api_platform'\n```\n\n### For more information\nIf you have any questions or comments about this advisory:\n\n- Open an issue in [Sylius issues](https://github.com/Sylius/Sylius/issues)\n- Email us at [security@sylius.com](mailto:security@sylius.com)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Sylius es un framework de comercio electrónico de código abierto en Symfony. Se descubrió una vulnerabilidad de seguridad en el endpoint `/api/v2/shop/adjustments/{id}`, que recupera ajustes de pedidos basados en ID de enteros incrementales. La vulnerabilidad permite a un atacante enumerar ID de ajuste válidos y recuperar tokens de pedido. Al utilizar estos tokens, un atacante puede acceder a los detalles del pedido de los clientes invitados: información confidencial del cliente invitado. El problema se solucionó en las versiones: 1.12.19, 1.13.4 y superiores. `/api/v2/shop/adjustments/{id}` siempre devolverá el estado `404`. Se recomienda a los usuarios que actualicen. Los usuarios que no puedan actualizar pueden modificar su configuración para mitigar este problema. Consulte la GHSA vinculada para obtener más detalles.","source":"nvd"}],"published":"2024-07-17T14:32:18.000Z","modified":"2026-06-17T07:46:12.587Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N","rating":"HIGH"}],"cwes":["CWE-200","CWE-639"],"affected":[{"ranges":[{"version":"< 1.12.19","status":"affected"},{"version":">= 1.13.0, < 1.13.4","status":"affected"}],"vendor":"Sylius","product":"Sylius","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"1.12.19","status":"affected"},{"type":"custom","introduced":"0","fixed":"1.12","status":"affected"},{"type":"custom","introduced":"0","fixed":"1.13.4","status":"affected"}],"vendor":"sylius","product":"sylius","cpe":"cpe:2.3:a:sylius:sylius:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"1.12.0-alpha.1","status":"affected","fixed":"1.12.19"}],"ecosystem":"Packagist","package":"sylius/sylius","purl":"pkg:composer/sylius/sylius","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.13.0-alpha.1","status":"affected","fixed":"1.13.4"}],"ecosystem":"Packagist","package":"sylius/sylius","purl":"pkg:composer/sylius/sylius","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.9.12"}],"ecosystem":"Packagist","package":"sylius/sylius","purl":"pkg:composer/sylius/sylius","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.10.0-alpha.1","status":"affected","fixed":"1.10.16"}],"ecosystem":"Packagist","package":"sylius/sylius","purl":"pkg:composer/sylius/sylius","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"1.11.0-alpha.1","status":"affected","fixed":"1.11.17"}],"ecosystem":"Packagist","package":"sylius/sylius","purl":"pkg:composer/sylius/sylius","source":"ghsa"}],"references":[{"url":"https://github.com/Sylius/Sylius/security/advisories/GHSA-55rf-8q29-4g43","tags":["web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40633","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/Sylius/Sylius/commit/d833b2871caa3b8d1f0a8207378bb778f0b90464","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/Sylius/Sylius","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-07-17T19:06:37.163Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-40633","url":"https://www.cve.org/CVERecord?id=CVE-2024-40633","licence":"CVE Terms of Use","modified":"2024-08-02T04:33:11.961Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-55rf-8q29-4g43","url":"https://github.com/advisories/GHSA-55rf-8q29-4g43","licence":"CC-BY-4.0","modified":"2026-03-09T16:01:31.134Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-40633","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-40633","licence":"Public domain","modified":"2026-06-17T07:46:12.587Z"}],"updatedAt":"2026-11-25T22:58:43.027Z","epss":{"score":0.0038,"percentile":0.34109,"date":"2026-12-01T12:00:22.000Z"}}