Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 86%

CVE-2026-42879: CWE-94: Improper Control of Generation of Code ('Code Injection') in NeoRazorX facturascripts

0
Medium
VulnerabilityCVE-2026-42879cvecve-2026-42879cwe-94cwe-434
Published: 05/27/2026 (05/27/2026, 18:29:46 UTC)
Source: CVE Database V5
Vendor/Project: NeoRazorX
Product: facturascripts

Description

FacturaScripts is an open source accounting and invoicing software. In 2025.81 and earlier, an authenticated unrestricted file upload vulnerability exists in FacturaScripts' product image upload functionality. An attacker with valid credentials can upload a PHP file disguised as a GIF image (using a GIF89a header), bypassing MIME type validation. The file is stored with its original extension, including executable extensions such as .php. The vulnerability exists the addImageAction() method of Core/Lib/ExtendedController/ProductImagesTrait.php.

CVSS v3.1

Score 6.3medium

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Affected software

GitHub Actionsmore threats →ai
neorazorx/facturascripts
pkg:github/neorazorx/facturascripts
Affected versions
<=2025.81

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/03/2026, 20:28:05 UTC

Technical Analysis

CVE-2026-42879 is a code injection vulnerability in NeoRazorX's FacturaScripts accounting software (version 2025.81 and earlier). It arises from an authenticated unrestricted file upload flaw in the product image upload functionality. The vulnerability allows an attacker with valid credentials to upload a PHP file disguised as a GIF image by manipulating the file header to GIF89a, bypassing MIME type checks. The file is stored with its original extension, including executable extensions like .php, enabling execution of arbitrary code on the server. The issue is located in the addImageAction() method within Core/Lib/ExtendedController/ProductImagesTrait.php. No official patch or remediation level has been provided yet.

Potential Impact

An attacker who is authenticated can upload malicious PHP files disguised as images, potentially leading to arbitrary code execution on the server. This could compromise the confidentiality, integrity, and availability of the affected system. The CVSS vector indicates network attack vector, low attack complexity, required privileges, no user interaction, and impacts on confidentiality, integrity, and availability, all at low levels.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict authenticated user permissions to prevent unauthorized file uploads and consider implementing additional server-side validation to verify file types beyond MIME headers. Monitor for suspicious file uploads and remove any files with executable extensions uploaded through the image upload functionality.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-30T18:49:06.711Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a173900e29bf47b50dc2e2f

Added to database: 05/27/2026, 18:33:36 UTC

Last enriched: 06/03/2026, 20:28:05 UTC

Last updated: 07/26/2026, 20:52:04 UTC

Views: 88

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses