Migration from 2.2.x to 2.3.0

Operation Parameter Validation

Breaking change: creating an operation is now rejected (ERR0024 - invalid request) when any parameter value contains any of the Unicode bidirectional formatting characters U+202A-U+202E (LRE, RLE, PDF, LRO, RLO) and U+2066-U+2069 (LRI, RLI, FSI, PDI).

These characters can make a value appear different from what the user actually approves (see CVE-2021-42574). For example, the parameter "amount": "\u202e5000\u202c" would be displayed as 0005.

The validation is enabled by default. Make sure your integrating application does not send these characters in operation parameters. If you need the previous behavior, disable the validation:

Property Environment variable Default
powerauth.service.operation.validateUnicodeControlChars POWERAUTH_SERVER_OPERATION_VALIDATE_UNICODE_CONTROL_CHARS true

See Configuration Properties for details. Sanitization of operation parameters remains the responsibility of the integrating application.

Last updated on Dec 03, 2026 (09:30) Edit on Github Send Feedback

develop

PowerAuth Server