Skip to content

v1.1.1

Latest

Choose a tag to compare

@RumenDamyanov RumenDamyanov released this 24 Nov 14:36
· 4 commits to master since this release
bfb137e

rumenx/php-sitemap 1.1.1 fixes a stored cross-site scripting issue in the HTML sitemap (GHSA-j582-rcwr-w4r6).

composer require rumenx/php-sitemap:^1.1.1

Security

  • render('html') wrote loc into a double-quoted href after htmlentities() with ENT_XML1, which does not encode quotes.
  • The HTML view now encodes quotes, and it uses an href only for http and https URLs.
  • Reported by Artur Chlebicki (@Artur12555).

XML sitemap output is unchanged. PHP 8.3.36+, 8.4.27+, or 8.5.12+ is still required.

What's Changed

Full Changelog: v1.1.0...v1.1.1