Task Description
URL:https://www.alwaysdata.com/en/sitemap.xml
๐ Issue Summary: The sitemap XML at the above URL is accessible but lacks associated XSL styling, causing the browser to display a raw XML tree with a message stating:
"This XML file does not appear to have any style information associated with it. The document tree is shown below."
๐ก Expected Behavior: The sitemap should either:
Include a reference to an XSL stylesheet to format the output for human readability, OR
Deliver plain XML without browser-rendered HTML or inline styles/CSS that could lead to unintended display artifacts.
๐ Actual Behavior: The XML document is correctly structured and functional.
However, extraneous CSS code appears to be injected into the XML, potentially due to frontend theme/style conflicts or incorrect server handling.
๐งช Steps to Reproduce: Navigate to https://www.alwaysdata.com/en/sitemap.xml in any browser.
Observe the browser warning about missing style information.
Scroll down to see unexpected CSS classes and style rules (e.g., .aifnmjmchg.light, :host([class=light])), which are not part of a standard sitemap file.
๐ง Root Cause Hypothesis: The web server may be unintentionally injecting global CSS or theme-related JavaScript/CSS into all responses, including .xml files.
This could be a misconfigured template handler or inclusion of global styles across all content types.
๐ฏ Suggested Fix: Ensure that the sitemap endpoint delivers pure XML with proper MIME type (application/xml) without CSS injection.
Optionally, provide an XSL stylesheet for better browser presentation if needed.
Review middleware or template rendering logic that might be appending global assets to all responses.
โ
Impact: SEO crawlers are likely unaffected.
However, human readability is degraded, and it may hint at larger asset delivery misconfigurations.
Potentially impacts maintainability, developer trust, or bug bounty program quality.
|