CVE-2021-40642Textpattern
Medium 4.3 No auth needed
Follow: this CVE · Textpattern · Textpattern We alert you by email or Slack (account required).
- Priority
- 41
- CVSS 3.1
- 4.3
- EPSS
- 0.5% probability of exploitation in 30 days · percentile 39
- Auth required
- No
- Published
- Jun 29, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-311
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
What happens
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.
What to do
- Apply the vendor's security update for Textpattern.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| textpattern | textpattern | ≤ 4.8.7 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- www.huntr.dev Permissions Required Third Party Advisory