Medium

Sudden swap of user auth tokens in Volto

  • Disclosed: 14.03.2022
  • Updated: 11.10.2026 10:22

Impact

Due to the usage of an outdated version of the react-cookie library, under the circumstances of given a server high load, it is possible that a user could get his/her auth cookie replaced with the auth cookie from another user, effectively giving him full access to the other users account and privileges. A proven exploit for this vulnerability does not exist, since the exact requisites for it to happen have not been fully clarified, and the attempts to reproduce it under testing conditions have been unsuccessful, but it still can happen randomly and unintentionally in the wild.

Patches

The patch and fix is present in Volto 15.0.0-alpha.0 (or later). See PR: https://github.com/plone/volto/pull/3051. We recommend upgrading to the final release of Volto 15 as soon as possible if running an affected version. See the upgrade guide https://6-dev-docs.plone.org/volto/upgrade-guide/index.html#upgrading-to-volto-15-x-x

Workarounds

It is possible to create a fix by manually upgrading the react-cookie package to 4.1.1 and then overriding all Volto components that use this library as in https://github.com/plone/volto/pull/3051. As this is substantial work, an update to the Volto 15 is recommended. The upgrade steps for going from Volto 14 to Volto 15 are quite easy and do not involve any complexity. Please take a look at the upgrade guide: https://6-dev-docs.plone.org/volto/upgrade-guide/index.html#upgrading-to-volto-15-x-x

For more information

If you have any questions or comments about this advisory:

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package @plone/volto >= 14.0.0-alpha.6, < 15.0.0-alpha.0 15.0.0-alpha.0

References

CVSS score 5/10
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
Weakness (CWE)
CWE-287
Platform
npm
Package
@plone/volto
Disclosed
14.03.2022
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-cfhh-xgwq-5r67 - CC BY 4.0

Vulnerability history: @plone/volto

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
3
First → latest
03.2022 10.2025
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • High 2
  • Medium 1

Disclosures per year

  1. 2022: 1
  2. 2023: 0
  3. 2024: 0
  4. 2025: 2
  5. 2026: 0
  1. High CVE-2025-61668 < 16.34.1, >= 17.0.0, < 17.22.2, >= 18.0.0, < 18.27.2, >= 19.0.0-alpha.1, < 19.0.0-alpha.6 16.34.1, 17.22.2, 18.27.2, 19.0.0-alpha.6
  2. High · 7.5 CVE-2025-58047 < 16.34.0, >= 17.0.0, < 17.22.1, >= 18.0.0, < 18.24.0, >= 19.0.0-alpha.1, < 19.0.0-alpha.4 16.34.0, 17.22.1, 18.24.0, 19.0.0-alpha.4
  3. Sudden swap of user auth tokens in Volto this entry
    Medium · 5.0 CVE-2022-24740 >= 14.0.0-alpha.6, < 15.0.0-alpha.0 15.0.0-alpha.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.