An issue was discovered in the Oauth extension for MediaWiki through 1.35.2. It did not validate the oarcversion (aka oauthregisteredconsumer.oarcversion) parameter's length.