Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

azuread/azure-activedirectory-library-for-java
dev @ 8ba9e9e
5
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Information Disclosure: 1 prior fix. Scrutinize any change in this area.
AuthenticationContext: most-fixed (1 issue). Treat as high-risk during review.
3 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

XML External Entity (XXE): Insecure XML parsing configurations allowed external entity expansion and DTD loading during WS-Trust and MEX response parsing, risking server-side request forgery and local file access. Developers must use the wrapped SafeDocumentBuilderFactory to secure DocumentBuilder instances.
XML Injection: Unescaped user credentials directly appended to XML builders allowed malicious input to manipulate the structural integrity of the WS-Trust SOAP envelope. XML-escaping of dynamic inputs like usernames and passwords must be consistently applied.
Information Disclosure: Standard application loggers inadvertently recorded highly sensitive OAuth tokens and user-identifiable details. Developers should routing sensitive diagnostic events through designated PII-scrubbing log interfaces.