Skip to content

Commit 862d760

Browse files
authored
changeset for singh contribution (#5442)
1 parent 4be7e00 commit 862d760

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎.changeset/new-doors-turn.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"sanitize-html": patch
3+
---
4+
5+
Address a potential vulnerability when nonTextTags is configured in a nonstandard way. While it is never a good idea to remove known non-text tags from the standard list e.g. script, styles, etc., this change ensures that doing so does not result in nested tags being passed through without sanitization when they are not expressly allowed. (ApostropheCMS would never trigger this situation.) Thanks to [Dipanshu singh](https://github.com/Dipanshusinghh) for pointing out the issue and contributing the fix.

0 commit comments

Comments
 (0)