CVE-2026-27474: 
NixOS vulnerability analysis and mitigation

Overview

CVE-2026-27474 is a Cross-Site Scripting (XSS) vulnerability in the private area of SPIP, a popular open-source web publishing system. The flaw exists because the echappe_anti_xss() function was not systematically applied to input, form, button, and anchor (<a>) HTML tags, allowing attackers to inject malicious scripts through these elements. It affects SPIP versions 4.4.0 through 4.4.8 and represents an incomplete fix from SPIP 4.4.8; it is not mitigated by the SPIP security screen. The vulnerability was published on February 19, 2026, and carries a CVSS v3.1 base score of 6.1 (Medium) (SPIP Blog, Debian Advisory).

Technical details

The root cause is classified as CWE-79 (Improper Neutralization of Input During Web Page Generation — Cross-Site Scripting). The echappe_anti_xss() sanitization function, intended to strip or encode dangerous content, was not consistently applied to all relevant HTML tags (input, form, button, <a>) in the SPIP private area, leaving these elements as injection vectors. An attacker with low-level privileges can craft malicious payloads embedded in these HTML elements; the payload executes in the browser of another authenticated user who views the injected content. The attack requires user interaction (the victim must view the malicious content) and operates over the network with low attack complexity (SPIP Blog).

Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript in the context of an authenticated user's session within the SPIP private area. This can lead to session hijacking, credential theft, unauthorized actions performed on behalf of legitimate users, and potential exfiltration of sensitive data accessible in the private backend. The scope is changed (cross-site), meaning the injected script can affect resources beyond the origin where the vulnerability exists, though availability is not directly impacted (SPIP Blog, Debian Advisory).

Exploitability

No public proof-of-concept exploit code has been identified, and there is no evidence of active in-the-wild exploitation at this time. The EPSS score is approximately 0.027%, indicating a low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires low privileges and user interaction, limiting opportunistic mass exploitation (SPIP Blog).

Exploitation steps

  1. Reconnaissance: Identify SPIP installations running versions 4.4.0 through 4.4.8 by examining publicly accessible SPIP sites or internal deployments; version information may be visible in page footers or HTTP headers.
  2. Obtain low-privileged access: Register or use an existing low-privileged account on the target SPIP instance to access the private area.
  3. Craft XSS payload: Construct a malicious payload targeting unprotected HTML elements (e.g., inject <input onfocus=alert(document.cookie) autofocus> or <a href="javascript:maliciousCode()">click</a>) into a field or form within the private area that is rendered for other users.
  4. Submit the payload: Submit the crafted content through an affected form, button, input, or anchor element in the SPIP private area where the output is stored or reflected.
  5. Wait for victim interaction: When another authenticated user (e.g., an administrator) views the page containing the injected content, the malicious script executes in their browser context.
  6. Achieve objective: Harvest session cookies, perform actions on behalf of the victim, or pivot to further attacks within the SPIP private area (SPIP Blog).

Indicators of compromise

  • Logs: SPIP access logs showing unusual POST requests to private area forms containing JavaScript event handlers (e.g., onerror, onfocus, onmouseover) or javascript: URI schemes in anchor fields.
  • Network: Outbound requests from authenticated user browsers to unexpected external domains shortly after accessing SPIP private area pages (potential data exfiltration via injected scripts).
  • Application: Unexpected or unfamiliar content in SPIP private area form fields, buttons, or links containing encoded or obfuscated script tags or event attributes.
  • Browser/Session: Reports from users of unexpected behavior, pop-ups, or session anomalies while using the SPIP private area.

Mitigation and workarounds

The primary remediation is to upgrade SPIP to version 4.4.9 or later, which applies echappe_anti_xss() systematically to all affected HTML tags (SPIP Blog). Debian has issued a security advisory (DSA-6155-1) with updated packages for affected distributions (Debian Advisory). As interim mitigations, restrict access to the SPIP private area to trusted users only, implement a Content Security Policy (CSP) to limit script execution, and consider deploying a Web Application Firewall (WAF) to detect and block XSS payloads. Monitor private area activity for suspicious script injections in form submissions.

Community reactions

Debian issued security advisory DSA-6155-1 covering this and related SPIP vulnerabilities, distributing patched packages to affected Debian users (Debian Advisory). Tenable released Nessus detection plugins (IDs 299646 and 300870) to identify vulnerable SPIP installations. Coverage was noted in Linux security news outlets and community blogs, with general consensus that upgrading to 4.4.9 is straightforward and should be prioritized (Linux Security).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Fixed

sid

spip: 4.4.9+dfsg-1

Fixed

trixie

spip: 4.4.11+dfsg-0+deb13u1

Fixed

Ubuntu

Unknown

bionic (esm-apps)

spip

Unknown

devel

spip

Not Affected

focal (esm-apps)

spip

Unknown

jammy

spip

Unknown

jammy (esm-apps)

spip

Unknown

noble

spip

Unknown

noble (esm-apps)

spip

Unknown

resolute

spip

Unknown

Source: This report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-116199CRITICAL9.2
  • NixOS logoNixOS
  • cpe:2.3:a:snipeitapp:snipe-it
NoYesOct 25, 2026
CVE-2026-116201HIGH8.7
  • NixOS logoNixOS
  • cpe:2.3:a:snipeitapp:snipe-it
NoYesOct 25, 2026
CVE-2026-116200HIGH8.2
  • NixOS logoNixOS
  • cpe:2.3:a:snipeitapp:snipe-it
NoYesOct 25, 2026
CVE-2026-2270MEDIUM5.9
  • NixOS logoNixOS
  • kubernetes
NoYesOct 26, 2026
CVE-2026-76654MEDIUM5.8
  • NixOS logoNixOS
  • cpe:2.3:a:kubernetes:kubernetes
NoYesOct 26, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management