Tips

Other injection (LDAP, XPath, XSLT, CSS, LaTeX) tips

Input can inject into more languages than SQL and shells: LDAP filters, XPath queries, XSLT stylesheets, CSS and LaTeX documents. Each has its own way to read data or run code once input escapes its value.

Published tips, newest first. Payloads and commands are shown as plain text.

  • Test SAML for XML signature wrapping attacks

    To test a SAML implementation for XML signature wrapping attacks, send a SAMLResponse with a modified Signature element that wraps the original signature in a new signature. If the implementation accepts the modified signature, it may be vulnerable to XML signature wrapping atta…

    Other injection (LDAP, XPath, XSLT, CSS, LaTeX)Discovery

  • Test email templates for injection

    Test email templates for injection by trying to insert HTML tags, such as <a href> or <img>, into user-controlled values like names, companies, or custom messages. If the input is not properly validated or encoded, an attacker can manipulate the email content. Look for endpoints…

    Other injection (LDAP, XPath, XSLT, CSS, LaTeX)Discovery

  • Revive Adserver -> Formula Injection -> Fix Bypass

    How -> 1. Old fix only sanitized tracker-variable values 2. Zone editor saves a formula as a zone name 3. It lands in an advertiser's XLS report, runs on open Fix -> CVE-2026-133207, update Revive #bugbountytips pic.twitter.com/…

    Other injection (LDAP, XPath, XSLT, CSS, LaTeX)Exploitation

Other injection (LDAP, XPath, XSLT, CSS, LaTeX): how to hunt it

Where to look

  • Directory searches and logins backed by LDAP, tried with *, )( and filter syntax.
  • XML queries and transformations fed by input (XPath, XSLT).
  • PDF and document generators built on LaTeX or on converting HTML.
  • CSS injection in style attributes and themes, which can leak tokens through selectors.

What proves it

Show the injected syntax changing the result or reading a harmless value, and name the language and the engine.

Read further

Writeups on Other injection (LDAP, XPath, XSLT, CSS, LaTeX), by hunters and researchers, most with a short summary.

Related classes