25
0
Fork 0
mirror of https://github.com/hedgedoc/hedgedoc.git synced 2026-06-30 11:35:26 +02:00
HedgeDoc/lib/models
Erik Michelson c489497e45 refactor(frontmatter): constrain frontmatter object after parsing
This change removes the meta-marked dependency which solely was
used for extracting the frontmatter, which is possible as well
with one function. Furthermore, this introduces constraints to
objects resulting from frontmatter parsing and enforces them in
order to prevent attacks like a yaml bomb (massive alias expansion).
This change should resolve a possible DoS attack.

Signed-off-by: Erik Michelson <github@erik.michelson.eu>
2026-06-18 23:56:45 +02:00
..
author.js Linter: Fix all lint errors 2021-02-15 12:15:14 +01:00
index.js style(migrations): fix formatting errors 2022-11-06 22:24:48 +01:00
note.js refactor(frontmatter): constrain frontmatter object after parsing 2026-06-18 23:56:45 +02:00
revision.js fix: use nanoid instead of shortid 2025-11-22 01:05:50 +01:00
temp.js fix: use nanoid instead of shortid 2025-11-22 01:05:50 +01:00
user.js fix(auth): sanitize email addresses 2026-06-18 23:56:45 +02:00