unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Michael J Gruber <michaeljgruber+grubix+git@gmail.com>
To: Jakub Wilk <jwilk@jwilk.net>
Cc: notmuch@notmuchmail.org
Subject: Re: nmweb HTML injection
Date: Mon, 22 Aug 2022 10:35:39 +0200	[thread overview]
Message-ID: <CAA19uiQDm2wXuh02b2HNxv3tnC_j6yZjdf--roBCq5SpHUhn=g@mail.gmail.com> (raw)
In-Reply-To: <20220822064717.qftn4tr7cs4r2ian@jwilk.net>

Am Mo., 22. Aug. 2022 um 09:22 Uhr schrieb Jakub Wilk <jwilk@jwilk.net>:
>
> See: https://nmbug.notmuchmail.org/nmweb/search/markup%20where%20appropriate
>
> <code> and <p> from the mail subject was dumped without escaping into HTML.
>

Interesting :)

The body is htmlescape()ed, but the subject header is used as is. I
should be escaped too.

Michael

  reply	other threads:[~2022-08-22  8:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-22  6:47 nmweb HTML injection Jakub Wilk
2022-08-22  8:35 ` Michael J Gruber [this message]
2022-09-05 11:07 ` [PATCH] nmweb: escape subject in search view David Bremner
2022-09-17  0:50   ` David Bremner
2022-09-23 23:21   ` David Bremner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAA19uiQDm2wXuh02b2HNxv3tnC_j6yZjdf--roBCq5SpHUhn=g@mail.gmail.com' \
    --to=michaeljgruber+grubix+git@gmail.com \
    --cc=jwilk@jwilk.net \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).