Vulnerability in Textpattern

CVE-2021-40642

Textpattern CMS v4.8.7 and older vulnerability exists through Sensitive Cookie in HTTPS Session Without 'Secure' Attribute via textpattern/lib/txplib_misc.php. The secure flag is not set for txp_login session cookie in the application. If the secure flag is not set, then the cookie will be transmitted in clear-text if the user visits any HTTP URLs within the cookie's scope. An attacker may be able to induce this event by feeding a user suitable links, either directly or via another web site.

EPSS: 0.005 (39.8th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N.

Affected products

Weakness classification (CWE)

References

  • cve@mitre.org (Patch, Third Party Advisory, x_refsource_MISC)
  • cve@mitre.org (Permissions Required, Third Party Advisory, x_refsource_MISC)

Frequently asked questions

What is CVE-2021-40642?
CVE-2021-40642 is a medium-severity vulnerability in Textpattern, classified under Missing Encryption of Sensitive Data. CVSS score: 4.3/10. Published 2022-06-29.
How severe is CVE-2021-40642?
Medium severity. CVSS v3 base score is 4.3 out of 10.