CVE-2026-120416: AndyFactory newspaper4k Image Extractor image_extractor.py Article.parse server-side request forgery
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/imageextractor.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.
Event History
Frequently Asked Questions
Which versions should be considered affected?
AndyFactory newspaper4k versions up to 0.9.6 are affected. Version 0.9.6.1 mitigates the issue.
Can this be exploited remotely without authentication or user interaction?
Yes. The provided severity vector indicates network attack access, low attack complexity, no required privileges, and no user interaction.
What component and code path should be prioritized for review?
Prioritize uses of the Image Extractor component, specifically Article.parse in newspaper/extractors/image_extractor.py. The issue is an SSRF condition in that code path.
What is the recommended remediation?
Upgrade newspaper4k to version 0.9.6.1 or later. The referenced fix is commit eec5fab21897c14667c98f5ba1831ebd3a692dd4.