Skip to content

whatstk

Sample chat files are downloaded over cleartext HTTP in whatstk

CVE-2026-142382Published 2 Dec 2026, 17:45 UTC

Real-world risk

0.8/ 10Low

Routine

If the vulnerable configuration applies to you: 1.8

PreliminaryFrom the CVSS vector only · confidence low

CVSS

2.1

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from Secur0)

Cleartext Transmission of Sensitive Information (CWE-319) in whatstk/data.py in whatstk from 0.3.0 before 0.9.0 allows an attacker on the network path between the user and raw.githubusercontent.com to substitute the sample chat files the library downloads. The module builds chats_folder on the http scheme, and every entry of whatsapp_urls, which is the documented way to load a sample chat, inherits that prefix. _str_from_file() passes any path beginning with http to urlopen(), which follows GitHub's 301 redirect to HTTPS, but the first request has already travelled in cleartext on port 80, so an attacker who answers before the redirect supplies the file that is parsed. The scheme appears 15 times across 7 files of the affected releases: the sample URLs themselves, a docstring that renders in the API reference, the test suite, and four documentation pages that readers copy from. The project URL published to PyPI uses http as well. The files served are public sample chats, so what the attacker gains is control of the content the library parses rather than sight of anything confidential.

Am I affected?

ProductAffected versions (from the sources)Fixed in
whatstkNiche>= 0.3.0, < 0.9.00.9.0

What to do

Update to a fixed version: 0.9.0.

Why this score

FactorValueEvidence×
ImpactMinorReflected XSS, CSRF with low effect, open redirect, minor leakFrom the CVSS vector0.30
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionRoutineA normal action: open a file, visit a page, click a linkFrom the CVSS vector0.70
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T1: Nothing known (× 0.85)

The default for a new disclosure

The arithmetic
  1. Prerequisites multiplied together0.315
  2. Threat T1: Nothing known0.850
  3. 10 × impact 0.3 × prerequisites 0.315 × threat 0.850.803
  4. Rounded to one decimal between 0.1 and 100.8

How the score works

Exploitation and evidence timeline

  1. 2 Dec 2026 Published
  2. 2 Dec 2026 Risk 0.8 (cvss fallback)

Weakness

CWE-319

References

Get alerts for whatstk

Free email or text alerts when a vulnerability in whatstk reaches risk 8 or higher. Nothing else.