Cyber Risks · PortSwigger Research

Client-side JSON injection (reflected DOM-based)

Summary: PortSwigger describes reflected DOM-based JSON injection as occurring when a script incorporates controllable data into a string that is parsed as JSON and then processed by the application, with the reflection letting an attacker control part of the response such as a JavaScript string. An attacker may construct a URL that, if visited by another user, causes arbitrary JSON data to be processed, potentially subverting application logic or causing unintended actions on that user's behalf.

Bottom line: Burp Suite flags this issue through static analysis that can produce false positives, so without dynamic evidence someone has to review the code and execution paths to confirm whether the vulnerability is real or a mitigation already blocks it.

Read the original at PortSwigger Research ↗

Topics
Vulnerabilities & Patching
Related