Home › CVE › JavaScript
CVE-2026-77529 — NeoRazorX facturascripts
One of 8 NeoRazorX facturascripts vulnerabilities published together by NVD: our article covers all of them.
JavaScriptWebBrowsersVulnerabilitiesSummary
FacturaScripts is an open source accounting and invoicing software. Prior to version 2026.2, EditEmailSent::getHtmlAction returns the stored EmailSent::html value through Tools::fixHtml(), which reverses the Tools::noHtml HTML-entity escaping that EmailSent::test() applied at write time. The browser-side Tab/EmailSentHtml.html.twig then assigns data.html straight to html.innerHTML inside an open shadow DOM after running it through a hand-rolled regex sanitizer (limpiarJS) that strips ... blocks and inline event handlers via four regex passes. The filter is overlapping, single-pass, and oblivious to nested or unclosed tags, alternative XSS sinks (javascript: URIs, , import), or HTML entity tricks. Several payloads survive intact and execute because the shadow root inherits the parent document's origin and JavaScript privileges, giving the attacker the viewing admin's session, CSRF tokens, and any DOM data on the page. Storage of the payload is straightforward: EmailNotification::test() only sanitises name and subject, leaving body untouched, so an admin who can manage notification templates plants the payload once and every administrator who later opens an EmailSent row generated from that template fires it. This issue has been patched in version 2026.2.
Severity breakdown
Medium · 4.8
An attacker with administrator rights can exploit this over the network if a user is tricked into an action.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Login needed
- yes, an administrator account
- User action needed
- yes, someone must click, open or visit something
- Scope
- reaches beyond the vulnerable component (e.g. from a sandbox or VM to the host)
- Impact
- low on confidentiality and integrity, none on availability
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-184: Incomplete List of Disallowed Inputs
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| NeoRazorX facturascripts | < 2026.2 | — |
References by type
Vendor advisories
Patches and fixed releases
Affected
- NeoRazorX facturascripts
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-77529?
FacturaScripts is an open source accounting and invoicing software. Prior to version 2026.2, EditEmailSent::getHtmlAction returns the stored EmailSent::html value through Tools::fixHtml(), which reverses the Tools::noHtml HTML-entity escaping that EmailSent::test() applied at write time. Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).
How severe is CVE-2026-77529?
CVE-2026-77529 has a CVSS 3.1 base score of 4.8 (medium), from the CNA (github.com). An attacker with administrator rights can exploit this over the network if a user is tricked into an action.
Is CVE-2026-77529 being exploited?
Not as far as is known: CVE-2026-77529 is not in CISA's Known Exploited Vulnerabilities catalog as of December 5, 2026.
Which versions are affected by CVE-2026-77529?
NeoRazorX facturascripts < 2026.2.
How do I fix CVE-2026-77529?
Apply the update or mitigation in the vendor's advisory, linked on this page under Vendor advisories.