PT-2026-108704
CVE-2026-104774
·
Published
2026-10-08
·
Updated
2026-11-12
Description by
CVSS 3.1
5.8
MediumMetricsAV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N
Name of the Vulnerable Software and Affected Versions
Coraza WAF versions 3.0.0 through 3.7.0
Description
The
t:jsDecode transformation in Coraza WAF contains an off-by-one error when parsing JavaScript octal escape sequences. Specifically, in the file internal/transformations/js decode.go, the code incorrectly includes the backslash character in the octal number buffer. This causes the strconv.ParseInt() function to fail and return a null byte instead of the decoded value. An unauthenticated attacker can use JavaScript octal escapes to encode malicious syntax, which the WAF fails to decode correctly while the backend application parses it as intended. This discrepancy allows attackers to bypass WAF rules, potentially exposing the protected application to cross-site scripting (XSS) and SQL injection. Real-world scenarios include bypassing SQL injection rules by encoding payloads such as ' OR 1=1 using octal sequences.Recommendations
Update Coraza WAF to version 3.8.0.
As a temporary workaround, restrict the use of the
t:jsDecode transformation in WAF rules until the update is applied. Found an issue in the description? Have something to add? Feel free to write us 👾