Skip to main content

newspaper4k CVE-2026-120416

| EUVDEUVD-2026-115350 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-11-02 VulDB GHSA-hv55-xhhq-h9rr
6.9
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify app parsing URLs with newspaper4k
  2. Delivery
    Craft page with internal image or meta-refresh URL
  3. Exploit
    Server parses attacker-influenced article
  4. Execution
    Image Extractor fetches page-derived internal URL
  5. Impact
    Read internal/cloud-metadata response (SSRF)

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the integrating application to invoke newspaper4k's Article download/parse on a URL or page whose content the attacker controls or can influence, with image extraction active. In versions ≤0.9.6 the Image Extractor's _fetch_image follows page-derived image URLs and meta-refresh redirects (up to the redirect chain) without validating the target against private/internal/link-local IP ranges, so an embedded URL pointing at 127.0.0.1, 169.254.169.254, [::1], or an internal hostname is fetched server-side. Limiting factors: the attacker cannot trigger this directly against the newspaper4k host - a victim application must process attacker-supplied content; impact is limited to confidentiality (VC:L, reading internal responses) with no integrity or availability effect; and the fix adds a Configuration.allow_private_hosts flag defaulting to False that blocks non-public URLs, so patched deployments are safe unless an operator explicitly re-enables private-host fetching.

Impact

The CVSS 4.0 base score of 6.9 (medium) reflects a network, low-complexity, no-privilege, no-user-interaction vector (AV:N/AC:L/AT:N/PR:N/UI:N) but with impact confined to limited confidentiality (VC:L) and no integrity or availability effect - consistent with a server-side request forgery that leaks internal responses rather than achieving code execution. The vuln.today decision label is 'this_month', not 'act_now' or 'emergency', signaling elevated but non-urgent priority. No EPSS score, no CISA KEV listing, and no verified exploit code were provided, so there is no evidence of active or widespread exploitation; this reads as a genuine but moderate-priority issue rather than a high-CVSS-but-low-real-risk false alarm or an urgent emergency. The practical risk is heavily conditioned on deployment: the 'unauthenticated/remote' framing is accurate only in the sense that the attacker supplies malicious page content - real exposure exists only where an integrating application invokes newspaper4k's download/parse on attacker-controlled or attacker-influenced URLs, and it is most dangerous in cloud environments where the SSRF can reach instance-metadata endpoints (e.g. 169.254.169.254), as the added regression tests explicitly target.

Exploit ScenarioDerived

An attacker publishes a web page (or seeds an article URL) whose HTML embeds an image URL or meta-refresh pointing at an internal/cloud-metadata host such as http://169.254.169.254/latest/meta-data/ or http://127.0.0.1/. When a backend service using newspaper4k ≤0.9.6 downloads and parses that page, the Image Extractor fetches the page-derived URL (and follows redirects) with no validation against private IP ranges, causing the server to issue requests to internal resources. No public exploit was identified at time of analysis; the SSRF mechanism and the redirect-following path are confirmed by the vendor's patch diff and accompanying regression tests, and the AV:N/AC:L vector means the request requires no special timing or conditions once the page is processed.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 02, 2026

Server-side request forgery in newspaper4k through 0.9.6 lets an unauthenticated remote attacker who can influence a page processed by an integrating application cause the Image Extractor to fetch image or meta-refresh URLs pointing at loopback, link-local, private, or internal hosts. The impact is limited to confidentiality - limited internal response content may be exposed - with no integrity or availability effect, and the supplied CVSS 4.0 score is 6.9. The vendor fixed the issue in 0.9.6.1; no public exploit identified at time of analysis.

RemediationAI

Vendor-released patch: upgrade newspaper4k to 0.9.6.1, which contains commit eec5fab21897c14667c98f5ba1831ebd3a692dd4 and is available from PyPI (https://pypi.org/project/newspaper4k/0.9.6.1/) and the 0.9.6.1 release tag (https://github.com/AndyTheFactory/newspaper4k/releases/tag/0.9.6.1); the vendor issue is https://github.com/AndyTheFactory/newspaper4k/issues/741. The patch adds Configuration.allow_private_hosts with a default of False and validates page-derived image and meta-refresh URLs against non-public IP destinations; leave that flag at False, because setting it True explicitly restores fetching of private/internal hosts and reintroduces the SSRF risk. If upgrading cannot be done immediately, a compensating control is to stop invoking Article.download/Article.parse on attacker-influenced pages with image extraction enabled, or to enforce outbound egress filtering from the newspaper4k service that blocks loopback, link-local, private, and IPv6 internal ranges; both can break legitimate image retrieval and are not a substitute for the vendor fix.

Affected VersionsENISA

newspaper4k 0.9.2
newspaper4k 0.9.4
newspaper4k 0.9.1
newspaper4k 0.9.6
newspaper4k 0.9.0
newspaper4k 0.9.5
newspaper4k 0.9.3

Affected Packages

euvd newspaper4k no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

newspaper4k is a Python article-extraction library; the vulnerable component is the Image Extractor used by Article.parse, with a related meta-refresh fetch path in Article.download. The root cause is CWE-918: page-derived image URLs and meta-refresh redirects are fetched without first resolving the destination and checking that every IP is globally routable. In affected versions through 0.9.6, an embedded URL such as http://127.0.0.1:8000/x.png, http://169.254.169.254/latest/meta-data/, http://[::1]/x.png, or an internal hostname can therefore be requested server-side. The patch introduces newspaper.network.is_public_url, which accepts only http(s), resolves the hostname with getaddrinfo, rejects non-global addresses including IPv4-mapped IPv6, and adds a manual redirect loop capped at five hops that revalidates each redirect target; it also adds Configuration.allow_private_hosts, default False, gating both image fetching and the meta-refresh path. The commit itself notes that the check does not prevent DNS rebinding between validation and request. The supplied CVSS 4.0 vector is AV:N/AC:L/AT:N/PR:N/UI:N with VC:L and no VI/VA, matching the independent CVSS 3.1 assessment of AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.

Know when Newspaper4K gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
vuln.today AI 5.3 MEDIUM

Attacker-controlled page content triggers the SSRF with no auth or interaction on the newspaper4k host (PR:N/UI:N/AC:L); impact is limited internal-response disclosure (C:L) with no integrity or availability effect.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

A security vulnerability has been detected in AndyFactory newspaper4k up to 0.9.6. This affects the function Article.parse of the file newspaper/extractors/image_extractor.py of the component Image Extractor. Such manipulation leads to server-side request forgery. It is possible to launch the attack remotely. Upgrading to version 0.9.6.1 mitigates this issue. The name of the patch is eec5fab21897c14667c98f5ba1831ebd3a692dd4. Upgrading the affected component is advised. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.

Threat Intelligence Overview

Prevalence
Medium
popular open-source Python article-scraping library, maintained newspaper3k fork
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS N/A
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

34
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +34
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy