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-42877: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in NeoRazorX facturascripts

0
Medium
VulnerabilityCVE-2026-42877cvecve-2026-42877cwe-79
Published: Wed May 27 2026 (05/27/2026, 18:37:06 UTC)
Source: CVE Database V5
Vendor/Project: NeoRazorX
Product: facturascripts

Description

FacturaScripts is an open source accounting and invoicing software. In 2025.92 and earlier, a stored Cross-Site Scripting (XSS) vulnerability exists in the product search modal of sales (Core/Lib/AjaxForms/SalesModalHTML.php) and purchases documents (Core/Lib/AjaxForms/PurchasesModalHTML.php). An authenticated user with access to the warehouse module can create a product with a malicious reference that executes arbitrary JavaScript in the browser of any other user who opens the product search modal inside an invoice, order, or delivery note.

CVSS v3.1

Score 5.4medium

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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/27/2026, 19:50:00 UTC

Technical Analysis

CVE-2026-42877 is a stored Cross-Site Scripting vulnerability in FacturaScripts (NeoRazorX) affecting versions up to 2025.92. The flaw exists in the product search modal for sales and purchases documents (specifically in Core/Lib/AjaxForms/SalesModalHTML.php and PurchasesModalHTML.php). An authenticated user with access to the warehouse module can create a product with a malicious reference string that, when viewed by other users in the product search modal inside invoices, orders, or delivery notes, executes arbitrary JavaScript code in their browsers. This vulnerability arises from improper neutralization of input during web page generation (CWE-79).

Potential Impact

Successful exploitation allows an authenticated user with warehouse module access to execute arbitrary JavaScript in the browsers of other users who open the affected product search modal. This can lead to information disclosure or session hijacking limited to users who interact with the vulnerable interface. The vulnerability does not impact availability and requires user interaction (opening the modal). No known exploits are reported in the wild.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, restrict warehouse module access to trusted users only and consider monitoring for suspicious activity related to product references. Avoid opening the product search modal in untrusted environments if possible.

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: 6a17476ae29bf47b50e3541b

Added to database: 5/27/2026, 7:35:06 PM

Last enriched: 5/27/2026, 7:50:00 PM

Last updated: 5/27/2026, 9:08:41 PM

Views: 2

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