Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
86 changes: 86 additions & 0 deletions src/content/posts/testing-vul/.write-source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
{
"kind": "mlsys-write-source",
"version": 1,
"meta": {
"title": "xyz",
"summary": "dsdsds sds ds dsds",
"authors": [
"felix"
],
"writerName": "",
"topicId": "architecture",
"topicName": "Architecture",
"tags": [
"vul"
],
"slug": "testing-vul",
"coverFileName": "",
"ogCard": false,
"proposedTopic": "",
"newAuthor": null
},
"blocks": [
{
"id": "58a12416-05fb-4776-8f3f-32f078144f1a",
"type": "codeBlock",
"props": {
"language": "javascript"
},
"content": [
{
"type": "text",
"text": "<script>alert('xss')</script>\n<img src=x onerror=\"alert(1)\">\n[click me](javascript:alert(1))\n<a href=\"javascript:alert(document.cookie)\">link</a>\nInline `<script>alert(1)</script>",
"styles": {}
}
],
"children": []
},
{
"id": "8773374f-6b1b-4b03-852b-76395cadfab2",
"type": "codeBlock",
"props": {
"language": "javascript"
},
"content": [
{
"type": "text",
"text": "<script>alert('xss')</script>\n<img src=x onerror=\"alert(1)\">\n[click me](javascript:alert(1))\n<a href=\"javascript:alert(document.cookie)\">link</a>\nInline `<script>alert(1)</script>",
"styles": {}
}
],
"children": []
},
{
"id": "ea22a702-5086-409a-858a-f6a7daa3b64e",
"type": "paragraph",
"props": {
"backgroundColor": "default",
"textColor": "default",
"textAlignment": "left"
},
"content": [
{
"type": "text",
"text": "<img src=x onerror=alert(1)>",
"styles": {
"textColor": "rgb(163, 21, 21)",
"backgroundColor": "rgba(0, 0, 0, 0.1)"
}
}
],
"children": []
},
{
"id": "58016bbe-8163-4d99-a696-913eb4d7271b",
"type": "paragraph",
"props": {
"backgroundColor": "default",
"textColor": "default",
"textAlignment": "left"
},
"content": [],
"children": []
}
],
"tableVariants": {}
}
29 changes: 29 additions & 0 deletions src/content/posts/testing-vul/index.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: 'xyz'
summary: 'dsdsds sds ds dsds'
authors: ['felix']
date: '2026-07-14'
updated: '2026-07-14'
readMin: 1
topic: 'Architecture'
topicId: 'architecture'
tags: ['vul']
---

```javascript
<script>alert('xss')</script>
<img src=x onerror="alert(1)">
[click me](javascript:alert(1))
<a href="javascript:alert(document.cookie)">link</a>
Inline `<script>alert(1)</script>
```

```javascript
<script>alert('xss')</script>
<img src=x onerror="alert(1)">
[click me](javascript:alert(1))
<a href="javascript:alert(document.cookie)">link</a>
Inline `<script>alert(1)</script>
```

<span style="background-color: rgba(0, 0, 0, 0.1)"><span style="color: rgb(163, 21, 21)">\<img src=x onerror=alert(1)></span></span>
Loading