CVE-2021-40642

MEDIUM
Published Jun 29, 20224y ago · Modified Jun 17, 20262w ago
4.3 CVSS 3.1
Medium
Find Similar
Published Jun 29, 2022 4y ago
Last Modified Jun 17, 2026 2w ago

Description

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.

CVSS Details

Base Score
4.3
Exploitability
2.8
Impact
1.4
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality Low
Integrity None
Availability None

Threat Intelligence

No active exploitation signals — not in CISA KEV and no EPSS score yet.

Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-311

Affected Products 1

VendorProductVersionRange
textpatterntextpattern* ≤4.8.7

References 2

  • github.com https://github.com/textpattern/textpattern/commit/211fab0093999f59b0b61682aa988ac7d8337aa9
    PatchThird Party Advisory
  • huntr.dev https://www.huntr.dev/bounties/aadbe434-a376-443b-876f-2a1cbab7847b/
    Permissions RequiredThird Party Advisory

Remediation

  • github.com https://github.com/textpattern/textpattern/commit/211fab0093999f59b0b61682aa988ac7d8337aa9
    PatchThird Party Advisory