< to <, > to >, etc.) must be applied whenever any dynamic value — including values from third-party APIs — is rendered in HTML. Use a templating engine with auto-escaping enabled (Jinja2, Handlebars, React JSX) and never bypass escaping for “trusted” sources.${, #{, %{). Update logging libraries to versions with lookup evaluation disabled (Log4j 2.17.1+ disables JNDI by default). Apply -Dlog4j2.formatMsgNoLookups=true or equivalent as an additional layer.Ask your team to walk through what happens to a value returned by your most critical third-party integration. Does it go into a database? Get shown to users? Get logged? Each of those paths needs its own protection, regardless of where the data came from.