title: Apache bRPC: The builtin service rpcz page has an XSS attack vulnerability
description: Security vulnerability in Apache bRPC <=1.6.0 on all platforms allows attackers to inject XSS code to the builtin rpcz page.
An attacker that can send http request to bRPC server with rpcz enabled can inject arbitrary XSS code to the builtin rpcz page.
Solution (choose one of three):
1. upgrade to bRPC > 1.6.0, download link:  https://dist.apache.org/repos/dist/release/brpc/1.6.1/
2. If you are using an old version of bRPC and hard to upgrade, you can apply this patch:  https://github.com/apache/brpc/pull/2411
3. disable rpcz feature
problem types: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
affected:
{
defaultStatus: unaffected
product: Apache bRPC
vendor: Apache Software Foundation
versions:
lessThanOrEqual: 1.6.0, status: affected, version: 0.9.0, versionType: semver
}
metrics:
other: [
content: {'text': 'important'}
type: Textual description of severity
]