> For the complete documentation index, see [llms.txt](https://sec88.0x88.online/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sec88.0x88.online/web-appsec/features-abuse/commenting.md).

# Commenting

<details>

<summary><strong>IDOR Posting comments impersonating some other users.</strong></summary>

* [ ] Change the email of th request to registered email in target
* [ ] Change email to un registered email in the target and then register with it
* [ ] Change the ID one number or the whole id with another user ID

</details>

<details>

<summary><strong>DOM Clobbering</strong></summary>

We can therefore cause the JavaScript references to return an empty object using the following technique:

```python
<img id="getElementById">
<img id="querySelector">
<img id="getElementByTagName">
```

Which now returns the following output in our console: Uncaught TypeError: `document.getElementById is not a function at ….`

assuming an application uses a BBcode tag to publish image:

```python
[img width="100" height="50"]<https://www.bbcode.org/images/lubeck_small\\.jpg\\[/img]>
Which is interpreted in the browser as follows:
<img width="100" height="50" src=”https://www.bbcode.org/images/lubeck_\\small.jpg”>

We can take advantage of DOM clobbering like this:
[img width="100" id=”getElementById” height="50"]<https://www.bbcode.org>\\/images/lubeck_small.jpg\\[/img]

We have now effectively clobbered the DOM in the web application, which may
result in the breakdown of functionality and in some cases cause the browser to
become unresponsive
```

</details>

<details>

<summary><strong>Markup Language? try</strong> <a href="https://medium.com/@iframe_h1/a-picture-that-steals-data-ff604ba1012"><strong>Create A picture that steals Data</strong></a></summary>

```python
Go to <https://iplogger.org/>
choose invisible image 
send the comment
```

</details>

<details>

<summary><strong>IDOR to Read any other's comments</strong></summary>

1. Search for any fields/forms that you cant see others comments
2. Analyze the traffic
3. change identifier to user B and u can see user b comments

</details>

<details>

<summary><strong>Race Condition</strong></summary>

1. Unlimited Comments on a thread
2. Suppose a user can comment only once, try race conditions here to see if multiple comments are possible.

</details>

<details>

<summary><strong>Privilege Escalation</strong></summary>

* Suppose there is an option: comment by the verified user (or some privileged user) try to tamper with various parameters in order to see if you can do this activity.

</details>

<details>

<summary><strong>Thread Comment Functionality Testing</strong></summary>

* [ ] Unlimited Comments on a thread
* [ ] Suppose a user can comment only once, try race conditions here to see if multiple comments are possible.
* [ ] Suppose there is an option: comment by the verified user (or some privileged user) try to tamper with various parameters in order to see if you can do this activity.
* [ ] Try posting comments impersonating some other users.

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sec88.0x88.online/web-appsec/features-abuse/commenting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
