Skip to content

Commit 8a19795

Browse files
authored
fix: xss vulnerability (#244)
1 parent c37d36e commit 8a19795

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djangocms_frontend/templates/djangocms_frontend.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
{% block meta %}
99
<meta name="description" content="{% page_attribute meta_description %}"/>
1010
<meta property="og:type" content="website"/>
11-
<meta property="og:title" content="{% page_attribute "page_title" %}"/>
11+
<meta property="og:title" content="{{ request.current_page.get_page_title|escape }}"/>
1212
<meta property="og:description" content="{% page_attribute meta_description %}"/>
1313
{% endblock meta %}
1414
{% block canonical_url %}

0 commit comments

Comments
 (0)