Replay Attack Affecting org.apache.wss4j:wss4j-ws-security-stax package, versions [,2.4.4)[3.0.0,3.0.6)[4.0.0,4.0.2)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.51% (42nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHEWSS4J-21716576
  • published26 Oct 2026
  • disclosed30 Sept 2026
  • creditn0mi1k

Introduced: 30 Sep 2026

NewCVE-2026-92899  (opens in a new tab)
CWE-294  (opens in a new tab)

How to fix?

Upgrade org.apache.wss4j:wss4j-ws-security-stax to version 2.4.4, 3.0.6, 4.0.2 or higher.

Overview

Affected versions of this package are vulnerable to Replay Attack through the UsernameTokenProcessor and UsernameTokenInputHandler in its DOM and StAX inbound processing. An attacker who captures a valid password-digest UsernameToken can resend it with whitespace added to its Base64 Nonce; the digest still verifies, but the raw-text replay-cache lookup misses the token, allowing the attacker to reuse it on requests of their choosing and perform actions as the authenticated user until the token expires. The attack requires a configured nonce replay cache.

CVSS Base Scores

version 4.0
version 3.1