v1.0.1
·
10 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Fixes & Security
-
39bd252PDF Stream Scanning ReDoS Mitigation (pdfService): Replaced polynomial backtracking regular expression (stream...endstream) on uncontrolled binary stream data with an$O(N)$ linear-time index scanner (findPdfStreams) to eliminate Denial of Service risks on malicious or malformed streams (CodeQL #12). -
39bd252PDF XMP Packet Parser ReDoS Mitigation (pdfService): Replaced regular expression extraction of XML metadata packets (<?xpacket ... ?>) with a non-backtracking linear scanner (stripXmpPackets) preventing polynomial execution on adversarial repeated prefixes (CodeQL #11). -
e59b3d3SVG Inner Markup Comment Sanitization (svgSpriteService): Implemented recursive iterative sanitization loop when stripping XML declarations, DOCTYPEs, and comments (<!-- ... -->) to resolve incomplete multi-character sanitization and prevent nested comment element injection (CodeQL #13).
Dependencies
DevDependencies
1002531Update@types/nodefrom26.2.0to26.3.0