HTML in that is displayed only halfway in web dashboard item messes up the rest of the page

(Noted on Edge on Win 11, but i assume it would be a problem in all browsers and all OSes.)

I got a notification in my dashboard that included part of an HTML tag. The partial tag seems to have messed up the formatting of the rest of the page. I was trying to think if this behavior could be exploited for some sort of scripting attack, but I don’t have time to look into that sort of thing this morning. (I assume it could be exploited to deliver a targeted attack, though, and it should probably be fixed sooner than later.)

That journal post with the notification issue was where I had directly pasted in a version in html derived by @koos_the_reader from the forum post I made. (I don’t know how to do html things myself anymore.) Sorry if I have created any problems!


Additional info: the html code comes direcly from a forum post If you right click on this page to ‘View Source’ I just copied the html from there. It is not @ mentioning you in the proper way I think? but through a hyperlink or something

Specific line likely causing the issue

<li>Your notifications through 3rd party: <a class="mention" href="/u/pisum">@pisum</a> has provided a rich <a href="" rel="noopener nofollow ugc">separate interface</a> to replace the dropdown. Click through the authorizations to use it.</li>

or it could be the orphaned </ol> at the end. oops

1 Like

full html of the post as it currently is. I will edit it to fix the mentions

<p><strong>MISSION BRIEFING</strong></p>
<p>In this challenge we’ll visit “Darkest” [<a href="" rel="noopener nofollow ugc">1</a>,<a href="" rel="noopener nofollow ugc">2</a>] Africa. Over the course of the month, we’ll find out whether <a href="" rel="noopener nofollow ugc">identifiers can make a difference</a> for plant observations on this <a href="" rel="noopener nofollow ugc">ecological diverse</a> continent.</p>
<p>How are we <strong>coordinating</strong> the operation?</p>
<li><a href="" rel="noopener nofollow ugc">Flora of Africa</a> is the collection project we’ll watch to monitor id progress over time. This contains all African Plantae currently identified from Tracheophyta onward.</li>
<li><a href="" rel="noopener nofollow ugc">Mission Impossible - Identify Plantae in Africa</a> is the challenge’s traditional project. Its journal will provide updates. Observations placed into the project may be notable for their examples, discussions, mentoring needs or other features.</li>
<li><a href="">Mission Impossible - Identify Plantae in Africa</a> is the present thread for freeform discussion, questions and general enthusiasm. Updates would be crosslinked here (so you don’t have to join the project to find updates.)</li>
<li><a href="" rel="noopener nofollow ugc">iNat IDathon Discord server</a> is also available during the challenge for id discussion (thanks to <a class="mention" href="/u/astra_the_dragon">@astra_the_dragon</a> and <a class="mention" href="/u/arboretum_amy">@arboretum_amy</a> for the help there)</li>
<p>What <strong>online resources</strong> are already available to identify African plants?</p>
<li><a href="" rel="noopener nofollow ugc">Flora of Africa’s single journal post</a> has a rich collection of resources linked.</li>
<li><a href="" rel="noopener nofollow ugc">Guide to plant families of southern Africa</a> has keys, potential application to other parts of Africa, and author(s) who are iNatters. (<a href="" rel="noopener nofollow ugc">pdf access</a>)</li>
<p>Which <strong>links</strong> will we use to identify Plants?</p>
<p>The links below are presented in “identify modal” format, and contain certain elements that you can keep or remove as you like. Notable elements of these links:</p>
<li>Flora of Africa project, for Tracheophyta and farther: &amp;project_id=12505</li>
<li>All of Africa: &amp;place_id=97392</li>
<li>Africa without the Cape region, excluding a “less dark,” higher observation count area: &amp;place_id=97392&amp;not_in_place=123067</li>
<li>Random sort, an easy way to access observations that are not the “newest” or “oldest” 10K. Refresh page for a new set. It doesn’t give a page count while in use (if you care). Remove from url to see current page count: &amp;order_by=random</li>
<li>Observations per page, when set at 100 from default 30, allows quick estimate of progress outside of random sort (136 pages is about 13.6K observations): per_page=100</li>
<li>Grace period exclusion of last 3 months’ new observations, optional to add to link if you want: &amp;created_d2=2023-05-01&amp;createdDateType=range</li>
<p>I will <strong>use the following links to watch progress</strong>. Use any of these directly, or make your own to “choose your own adventure” for the mission! (Observation counts in K shown below are from Day “t minus 1”, on 7/31.)</p>
<p><strong>Mission: Add them!</strong> These observations are not yet in <a href="" rel="noopener nofollow ugc">Flora of Africa</a>. Getting any observation from these links to Tracheophyta or better will add them to the project:</p>
<li><a href=";photos=true&amp;verifiable=true&amp;place_id=97392&amp;taxon_id=47126&amp;hrank=kingdom&amp;lrank=kingdom&amp;order_by=random" rel="noopener nofollow ugc">Plantae at Kingdom in Africa</a>, 47.3K mostly Tracheophyta. <a href=";photos=true&amp;verifiable=true&amp;place_id=97392&amp;not_in_place=123067&amp;taxon_id=47126&amp;hrank=kingdom&amp;lrank=kingdom&amp;order_by=random" rel="noopener nofollow ugc">NonCape</a>, 39.2K.</li>
<li><a href=";iconic_taxa=unknown&amp;without_taxon_id=48460&amp;photos=true&amp;verifiable=true&amp;place_id=97392&amp;order_by=random" rel="noopener nofollow ugc">Unknowns in Africa</a>, 21.1K mostly Tracheophyta. <a href=";iconic_taxa=unknown&amp;without_taxon_id=48460&amp;photos=true&amp;verifiable=true&amp;place_id=97392&amp;not_in_place=123067&amp;order_by=random" rel="noopener nofollow ugc">NonCape</a> 15.2K.</li>
<li><a class="mention" href="/u/jeanphilippeb">@jeanphilippeb</a> 's <a href="" rel="noopener nofollow ugc">Phylogenetic projects for unknowns</a> contain many African observations, and are pre-sorted with the help of CV. Notable related projects include <a href="" rel="noopener nofollow ugc">Trees 1</a> and <a href="" rel="noopener nofollow ugc">Trees 2</a>.</li>
<p><strong>Mission: Improve them!</strong> These “slices” of observations are already in <a href="" rel="noopener nofollow ugc">Flora of Africa</a>:</p>
<li><a href=";photos=true&amp;verifiable=true&amp;place_id=97392&amp;hrank=phylum&amp;lrank=class&amp;project_id=12505&amp;taxon_id=211194&amp;order_by=random" rel="noopener nofollow ugc">Phylum through Class</a>, 58.3K. <a href=";photos=true&amp;verifiable=true&amp;place_id=97392&amp;not_in_place=123067&amp;hrank=phylum&amp;lrank=class&amp;project_id=12505&amp;taxon_id=211194&amp;order_by=random" rel="noopener nofollow ugc">NonCape</a>, 39.5K.</li>
<li><a href=";photos=true&amp;verifiable=true&amp;place_id=97392&amp;hrank=class&amp;lrank=class&amp;project_id=12505&amp;taxon_id=47124&amp;order_by=random" rel="noopener nofollow ugc">Just Class Dicots</a> (difficult or not), 29.6K. <a href=";photos=true&amp;verifiable=true&amp;place_id=97392&amp;not_in_place=123067&amp;hrank=class&amp;lrank=class&amp;project_id=12505&amp;taxon_id=47124&amp;order_by=random" rel="noopener nofollow ugc">NonCape</a>, 19.9K.</li>
<li><a href=";photos=true&amp;verifiable=true&amp;place_id=97392&amp;hrank=subclass&amp;lrank=subtribe&amp;project_id=12505&amp;taxon_id=211194&amp;order_by=random" rel="noopener nofollow ugc">Subclass through Subtribe</a> at Needs ID, 105.5K. <a href=";photos=true&amp;verifiable=true&amp;place_id=97392&amp;not_in_place=123067&amp;hrank=subclass&amp;lrank=subtribe&amp;project_id=12505&amp;taxon_id=211194&amp;order_by=random" rel="noopener nofollow ugc">NonCape</a> 53.9K.</li>
<li><a href=";photos=true&amp;verifiable=true&amp;place_id=97392&amp;hrank=genus&amp;lrank=complex&amp;project_id=12505&amp;taxon_id=211194&amp;order_by=random" rel="noopener nofollow ugc">Genus through Complex</a> at Needs ID, 338.4K. <a href=";photos=true&amp;verifiable=true&amp;place_id=97392&amp;not_in_place=123067&amp;hrank=genus&amp;lrank=complex&amp;project_id=12505&amp;taxon_id=211194&amp;order_by=random" rel="noopener nofollow ugc">NonCape</a> 139.4K.</li>
<li><a href=";photos=true&amp;verifiable=true&amp;place_id=97392&amp;hrank=species&amp;project_id=12505&amp;taxon_id=211194&amp;order_by=random" rel="noopener nofollow ugc">Species and farther</a> at Needs ID, 410.5K. <a href=";photos=true&amp;verifiable=true&amp;place_id=97392&amp;not_in_place=123067&amp;hrank=species&amp;project_id=12505&amp;taxon_id=211194&amp;order_by=random" rel="noopener nofollow ugc">NonCape</a> 204.5K.</li>
<p><strong>Side Mission: Tend Captive Plants!</strong> These won’t go to <a href="" rel="noopener nofollow ugc">Flora of Africa</a>, but you can still be a hero in helping to sort these out.</p>
<li><a href=";per_page=100&amp;iconic_taxa=unknown&amp;without_taxon_id=48460&amp;photos=true&amp;place_id=97392&amp;captive=true&amp;order_by=random" rel="noopener nofollow ugc">Unknowns marked captive in Africa</a>, 10.7K mostly Tracheophyta. <a href=";per_page=100&amp;iconic_taxa=unknown&amp;without_taxon_id=48460&amp;photos=true&amp;place_id=97392&amp;not_in_place=123067&amp;captive=true&amp;order_by=random" rel="noopener nofollow ugc">NonCape</a> 4.5K.</li>
<li><a href=";per_page=100&amp;iconic_taxa=Plantae&amp;photos=true&amp;place_id=97392&amp;captive=true" rel="noopener nofollow ugc">Plantae marked captive in Africa</a>, 191.8K mostly Tracheophyta. <a href=";per_page=100&amp;iconic_taxa=Plantae&amp;photos=true&amp;place_id=97392&amp;not_in_place=123067&amp;captive=true" rel="noopener nofollow ugc">NonCape</a>, 82.9K.</li>
<p>Are there <strong>guidelines for identifiers</strong>?</p>
<li><a href="">Etiquette</a> - current best practices</li>
<li><a href="">Limit notifications to others</a> where you can.</li>
<li>Your notifications through site: When you id a lot, you get a lot of feedback. Your unread notifications are the count icon in the upper right corner of any <a href="" rel="noopener nofollow ugc"></a> page. If you click the icon, they are presented in sets of 200 as a dropdown. If you click directly on one item in the dropdown, the whole list may be cleared accidentally. Try “control click” (Windows) or other means to send each item to a new tab without affecting the dropdown. You can “turn off agreeing notifications” to limit the simplest ones, although you may then miss experts’ comments along with experts’ agreements.</li>
<li>Your notifications through 3rd party: <a class="mention" href="/u/pisum">@pisum</a> has provided a rich <a href="" rel="noopener nofollow ugc">separate interface</a> to replace the dropdown. Click through the authorizations to use it.</li>
<p>This example workflow provided by <a class="mention" href="/u/dianastuder">@dianastuder</a> highlights other things to keep in mind (her posts below are linked)</p>
<ol start="0">
<li><a href="">Languages</a></li>
<li><a href="">Placeholder</a></li>
<li><a href="">Missing Species</a></li>
<li><a href="">Multiple Species</a></li>
<li><a href="">Combine Multiple Obs</a></li>
<li><a href="">@ mention</a></li>
<li><a href="">Supporting ids</a></li>
<li><a href="">Advising observer</a></li>
<li><a href="">Narrowing your id “slice”</a></li>
<li><a href="">Marking Reviewed, Follow/UnFollow</a></li>
<li><a href="">Using Computer Vision</a></li>
<li><a href="">Thank you</a> for momentum!</li>
1 Like

no worries. i don’t think you or koos_the_reader have done anything wrong here. if anything, your post pointed out a latent problem that probably needs to be fixed.

my biggest concern was that whatever is happening here could be exploited to do bad things in a targeted way, but i’ve finally had a few minutes to take a slightly deeper look, and although i still don’t totally understand what’s happening here, i don’t think i see an obvious way to exploit the problem.

regardless, whatever happens in one notification item shouldn’t bleed over to the rest of the page. that kind of thing sometimes could open the door to worse things than bad formatting.

at the end of the day, i think this is just another variant of some kinds of problems previously encountered in other parts of the system: