Skip links
Picture of Vahagn Vardanian

Vahagn Vardanian

Co-founder and CTO of RedRays

XSS Support for BSP-Extensions HTMLB, XHTMLB and PHTMLB, SAP security note 822881

SAP Note 822881SAP Security NoteMedium priority

SAP security note 822881, "XSS Support for BSP-Extensions HTMLB, XHTMLB and PHTMLB", is released on 08.10.2009. Below are the symptom and SAP recommended solution.

ComponentBusiness Server Pages (BC-BSP)
PriorityCorrection with medium priority
TypeSAP Security Note
Version2
StatusReleased for Customer
Released on08.10.2009
LanguageEnglish

Description

Symptom

XSS Support for BSP-Extensions HTMLB, XHTMLB and PHTMLB.

Solution

All BSP-Extensions that accept input parameters via HTTP requests, dynamically generate HTML based on these inputs, and return the content as a response to the client (browser) are potentially vulnerable to XSS attacks.

To protect the BSP-Extensions HTMLB, XHTMLB, and PHTMLB against XSS attacks, use the following attribute on the HTMLB content tag:

<htmlb:content forceEncode="ENABLED">
  ...
</htmlb:content>

This protection is available in SAP_BASIS versions 620SP50, 640SP12, and 700. For SAP_BASIS 640SP11, you can apply this note manually.

Reason and prerequisites

This note provides information on whether the BSP-Extensions HTMLB, XHTMLB, and PHTMLB are vulnerable to Cross Site Scripting (XSS) attacks and how to protect these extensions against such attacks.

This note also documents a known side effect: 914891 – Tooltip for project objects is not displayed any longer.

CVSS

Score 0

References

Full note on SAP: SAP Support Launchpad note 822881

Detailed exploitation and proof-of-concept material for this note is maintained in the RedRays Security Platform. For access, contact [email protected].

Explore More

SAP Security Patch Day November 2026 — RedRays

SAP Security Patch Day November 2026

SAP’s November 2026 Patch Day brings 38 notes, nine HotNews and four CVSS 10.0 issues in SAML2, SAP Gateway, Web Dispatcher and ICM. What to patch first.