{"id": "9320baf806f556ab5a99", "text": "Cyber Apocalypse 2024: Hacker Royale - Group Needed\n\nHey Guys! I am in my first year of studying my Diploma of Cyber Security and seen the Hacker Royal CTF coming up and wanted to participate for more experience cos why not. This will be my first CTF and I’m not fussed if we get anywhere but I just want to experience some of your guys experience and see what I am getting myself into. Feel free to message me if you guys want to team up as I think it will be a load of fun!", "source": "hackthebox", "timestamp": "2024-03-05", "split": "test", "label": 0, "label_source": "cross_source_no_cve"} {"id": "b6fd81b8de9946928cd2", "text": "vue-i18n has cross-site scripting vulnerability with prototype pollution\n\n[Severity: MEDIUM]\n\n### Vulnerability type\nXSS\n\n### Description\nvue-i18n can be passed locale messages to `createI18n` or `useI18n`.\nwe can then translate them using `t` and `$t`.\nvue-i18n has its own syntax for local messages, and uses a message compiler to generate AST.\nIn order to maximize the performance of the translation function, vue-i18n uses bundler plugins such as `@intlify/unplugin-vue-i18n` and bulder to convert the AST in advance when building the application.\nBy using that AST as the locale message, it is no longer necessary to compile, and it is possible to translate using the AST.\n\nThe AST generated by the message compiler has special properties for each node in the AST tree to maximize performance. In the PoC example below, it is a `static` property, but that is just one of the optimizations.\nAbout details of special properties, see https://github.com/intlify/vue-i18n/blob/master/packages/message-compiler/src/nodes.ts\n\nIn general, the locale messages of vue-i18n are optimized during production builds using `@intlify/unplugin-vue-i18n`,\nso there is always a property that is attached during optimization like this time.\nBut if you are using a locale message AST in development mode or your own, there is a possibility of XSS if a third party injects.\n\n### Reproduce (PoC)\n```html\n\n\n
\n \n{{ t('hello') }}
\n