Files
java-ai-agents/mcp-apps/output/07-browser-injection.txt
T

16 lines
505 B
Plaintext

# A product name carrying <img onerror=...>, rendered two ways
## textContent (the shipped view)
CB-99 row text: Cable <img src="x" onerror="parent.postMessage({jsonrpc:'2.0
clicks by the user: 0
tools/call sent by the view: none
KB-01 stock on the server afterwards: 4
## innerHTML (app.unsafe-render=true)
CB-99 row text: Cable
clicks by the user: 0
tools/call sent by the view:
view -> host: tools/call restock_item {"sku":"KB-01","quantity":99} (id 666)
KB-01 stock on the server afterwards: 103