mlsanityData to 7 Oct 2026

Manipulating LLM Web Agents with Indirect Prompt Injection Attack via HTML Accessibility Tree

arXiv 2507.14799 ↗First posted 20 Jul 2025cs.CR cs.AIcited by 13

On the map: LLM agents and tool use → Agent threats, guardrails and governance

also in 1 more
Abstract (arXiv)

This work demonstrates that LLM-based web navigation agents offer powerful automation capabilities but are vulnerable to Indirect Prompt Injection (IPI) attacks. We show that adversaries can embed universal adversarial triggers in webpage HTML to hijack agent behavior that utilizes the accessibility tree to parse HTML, causing unintended or malicious actions. Using the Greedy Coordinate Gradient (GCG) algorithm and a Browser Gym agent powered by Llama-3.1, our system demonstrates high success rates across real websites in both targeted and general attacks, including login credential exfiltration and forced ad clicks. Our empirical results highlight critical security risks and the need for stronger defenses as LLM-driven autonomous web agents become more widely adopted. The system software (https://github.com/sej2020/manipulating-web-agents) is released under the MIT License, with an accompanying publicly available demo website (http://lethaiq.github.io/attack-web-llm-agent).

Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 10 of its 17 references that are in the map. First posted on arXiv 20 Jul 2025.

Builds on

10 of 17 references.

Closest ancestors · 2

Same direction, newest first

  1. 2025Adaptive Attacks Break Defenses Against Indirect Prompt Injection Attacks on LLM Agents27 Feb
  2. 2024Imprompter: Tricking LLM Agents into Improper Tool Use19 Oct

Other references · 8

  1. 2013Intriguing properties of neural networkscited by 5,114
  2. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  3. 2023Universal and Transferable Adversarial Attacks on Aligned Language Modelscited by 2,914
  4. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
  5. 2019Universal Adversarial Triggers for Attacking and Analyzing NLPcited by 709
  6. 2019Is BERT Really Robust? A Strong Baseline for Natural Language Attack on Text Classification and Entailmentcited by 663
  7. 2024WorkArena: How Capable Are Web Agents at Solving Common Knowledge Work Tasks?cited by 348
  8. 2024Accelerating Greedy Coordinate Gradient and General Prompt Optimization via Probe Samplingcited by 33

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 4; 2026: 9.

13 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2025In-Browser LLM-Guided Fuzzing for Real-Time Prompt Injection Testing in Agentic AI Browsers
  2. 2024LLM Agents can Autonomously Hack Websites
  3. 2026WAAA! Web Adversaries Against Agentic Browsers
  4. 2024WIPI: A New Web Threat for LLM-Driven Web Agents
  5. 2025Why Are Web AI Agents More Vulnerable Than Standalone LLMs? A Security Analysis
  6. 2026From Prompt Injection to Web Exploitation: Revisiting Classic Vulnerabilities in LLM-Integrated Applications
  7. 2025BrowseSafe: Understanding and Preventing Prompt Injection Within AI Browser Agents
  8. 2025The Hidden Dangers of Browsing AI Agents