id: CVE-2022-0432 info: name: Mastodon Prototype Pollution Vulnerability author: pikpikcu severity: medium description: The GitHub repository mastodon/mastodon prior to 3.5.0 contains a Prototype Pollution vulnerability. reference: - https://github.com/mastodon/mastodon/commit/4d6d4b43c6186a13e67b92eaf70fe1b70ea24a09 - https://drive.google.com/file/d/1vpZ0CcmFhTEUasLTPUBf8o-4l7G6ojtG/view - https://nvd.nist.gov/vuln/detail/CVE-2022-0432 - https://huntr.dev/bounties/d06da292-7716-4d74-a129-dd04773398d7 classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N cvss-score: 6.1 cve-id: CVE-2022-0432 cwe-id: CWE-1321 tags: cve,cve2022,mastodon,prototype requests: - method: GET path: - '{{BaseURL}}/embed.js' matchers-condition: and matchers: - type: status status: - 200 - type: word part: body words: - "if (data.type !== 'setHeight' || !iframes[data.id]) {" # Enhanced by mp on 2022/02/28