Lucene search

K
huntrTyage75CFB7AD-A75F-45FF-8688-32A9C55179AA
HistoryJul 11, 2023 - 12:41 p.m.

XSS in webmention.js

2023-07-1112:41:30
tyage
www.huntr.dev
4
webmention.js
xss
vulnerability
comment name
unescaped
web security

EPSS

0.001

Percentile

33.1%

Description

webmention.js has a XSS vulnerability here.
Comment name has not escaped.
https://github.com/PlaidWeb/webmention.js/blob/9457e71433c0d2430bbe767ecc5b5837140d0ee4/static/webmention.js#L330

Proof of Concept

  1. 1 Put a webmention.js on your site
  2. 2 Send a webmention that includes XSS payload in p-name
<article>

  <span>&lt;img src=x onerror=alert(1)&gt;</span>
...
  1. 3 webmention.js will execute an alert in your site

EPSS

0.001

Percentile

33.1%

Related for 75CFB7AD-A75F-45FF-8688-32A9C55179AA