Answer in brief
CVE-2026-77529 records a Medium severity (CVSS 4.8) vulnerability in FacturaScripts: Stored XSS via EmailSentHtml client-side regex sanitizer that admins can bypass to attack other admins. The current sources do not mark it as known exploited. The current feed maps NeoRazorX/facturascripts (generic). Check affected ranges and fixed versions before updating.
Analysis pending evidence review
HOL Guard separates source facts from reviewed analysis. See the methodology.
CVSS is 4.8. The current sources do not mark it as known exploited. Treat this as a source-backed prioritization signal, not a statement about your environment.
Analysis status
Analysis pending evidence review
Factual feed record only; HOL analysis is not approved for indexing. Read the methodology.
The current feed maps NeoRazorX/facturascripts (generic). Check affected ranges and fixed versions before updating.
| Package | Affected range | Fixed version |
|---|---|---|
| NeoRazorX/facturascriptsgeneric | <2026.2 | 2026.2 |
Published upstream
Dec 4, 2026
Evidence: source:cvelist:source_dates:source-dates:recordSource modified
Dec 4, 2026
Evidence: source:cvelist:source_dates:source-dates:recordFirst seen by HOL
Dec 4, 2026
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 <script>...</script> 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, <iframe srcdoc>, <style> 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.
Quoted source text, attributed separately from HOL analysis.