On this page

Atomicorp WAF Rule 300013

Rule Summary

  • Rule ID: 300013
  • Status: Active
  • Alert message: Atomicorp.com WAF Rules - Virtual Just In Time Patch: SiYuan <= v3.5.9 - Cross Site Scripting CVE-2026-31809
  • Observed CWEs: CWE-79 (5)
  • Revision: 1
  • Rule severity: Alert (1)
  • Phase: 2 (request body)
  • Request surfaces: Request URI
  • Rule action: deny
  • HTTP status: 403
  • Logging: log, auditlog

Description

This rule detects behavior identified by its current alert as “Virtual Just In Time Patch: SiYuan <= v3.5.9 - Cross Site Scripting CVE-2026-31809” in the request URI. It evaluates during the request body phase and denies matching traffic with HTTP status 403.

CVEs Referenced by This Rule

The current ModSecurity rule metadata explicitly names the following CVEs. These references explain the rule author’s association; they do not claim that the rule is limited to these vulnerabilities or that this is an exhaustive coverage list.

CVE-2026-31809

SiYuan is a personal knowledge management system. Prior to 3.5.10, SiYuan’s SVG sanitizer (SanitizeSVG) checks href attributes for the javascript: prefix using strings.HasPrefix(). However, inserting ASCII tab (&#9;), newline (&#10;), or carriage return (&#13;) characters inside the javascript: string bypasses this prefix check. Browsers strip these characters per the WHATWG URL specification before parsing the URL scheme, so the JavaScript still executes. This allows an attacker to inject executable JavaScript into the unauthenticated /api/icon/getDynamicIcon endpoint, creating a reflected XSS. This is a second bypass of the fix for CVE-2026-29183 (fixed in v3.5.9). This vulnerability is fixed in 3.5.10.

This is a selected list of documented research observations, not an exhaustive coverage matrix. Absence of a CVE does not imply absence of protection.

CVEVulnerabilityProductCVSSSeverity
CVE-2026-66394SiYuan before v3.7.3 Stored and Reflected XSS via SVG Sanitizer Bypasssiyuan9.3 (v4.0)Critical
CVE-2026-34605SiYuan Note - Cross-Site Scriptingsiyuan8.6 (v4.0)High
CVE-2026-31807SiYuan <= v3.5.9 - SVG Animate Element XSSsiyuan6.4 (v4.0)Medium
CVE-2026-31809SiYuan <= v3.5.9 - Cross Site Scriptingsiyuan6.4 (v4.0)Medium
CVE-2026-29183SiYuan Note - Cross-Site Scriptingsiyuan6.1 (v3.1)Medium

Observed CWEs

These CWEs are recorded on published CVEs in the selected observations associated with this rule. They are observational relationships, not a claim that the rule universally blocks every vulnerability assigned to a CWE.

CWERelated Published CVEs
CWE-79CVE-2026-66394 , CVE-2026-34605 , CVE-2026-31807 , CVE-2026-31809 , CVE-2026-29183