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…

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: Wed May 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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/27/2026, 18:48:54 UTC

Technical Analysis

CVE-2026-42879 is an authenticated unrestricted file upload vulnerability in NeoRazorX's FacturaScripts accounting software versions 2025.81 and earlier. The flaw exists in the product image upload feature, specifically in the addImageAction() method, where MIME type validation can be bypassed by uploading a PHP file with a GIF89a header. The file is stored with its original extension, including executable extensions like .php, enabling code injection (CWE-94) and improper file upload control (CWE-434). This allows an authenticated attacker to potentially execute arbitrary code on the server.

Potential Impact

An attacker with valid credentials can upload malicious PHP files disguised as images, potentially leading to remote code execution or unauthorized actions on the affected system. The vulnerability impacts confidentiality, integrity, and availability as indicated by the CVSS vector (C:L/I:L/A:L). There are no known exploits in the wild at this time.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Since no official fix or patch is currently documented, users should restrict access to the upload functionality to trusted users only and monitor for suspicious uploads. Applying strict server-side validation on file types and extensions and disabling execution permissions on upload directories are recommended interim mitigations until an official fix is released.

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: 5/27/2026, 6:33:36 PM

Last enriched: 5/27/2026, 6:48:54 PM

Last updated: 5/27/2026, 8:03:23 PM

Views: 6

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